Skip to content

Commit

Permalink
feat: review Dockerfile to contain application
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco committed Dec 5, 2023
1 parent f7da937 commit 1a2a613
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker image for the nau-financial-manager application.
FROM python:3.11-slim AS base_build


# Create a group and user to run our app
ARG USER=nau-financial-manager

Expand Down Expand Up @@ -61,3 +61,10 @@ RUN poetry install --verbose
ENV FINANCIAL_MANAGER_CFG=/app/config.yml

USER ${USER}:${USER}

# copy multiple files and folders to the /app folder inside the image
COPY manage.py \
wait-for-mysql.sh \
apps \
nau_financial_manager \
/app/

0 comments on commit 1a2a613

Please sign in to comment.