Fixed static and template email files for container
This commit is contained in:
@@ -19,11 +19,12 @@ FROM python:3.12-slim AS deploy
|
||||
WORKDIR /app
|
||||
# Copy application custom static files
|
||||
RUN mkdir -p static
|
||||
COPY ./static/cantorair.jpg ./static
|
||||
COPY ./static/cantorair_blue.jpg ./static
|
||||
COPY ./static/* ./static
|
||||
# Copy application custom templates for admin page
|
||||
RUN mkdir -p /templates/admin
|
||||
RUN mkdir -p /templates/email
|
||||
COPY ./templates/admin/* ./templates/admin/
|
||||
COPY ./templates/email/* ./templates/email/
|
||||
# Copy and install application wheel package
|
||||
COPY --from=builder /build/dist/*.whl ./
|
||||
RUN pip install --no-cache-dir *.whl
|
||||
|
||||
Reference in New Issue
Block a user