Skip to content

Commit

Permalink
Clarify STATIC_PATH variable in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmvanb committed Jul 18, 2024
1 parent fce9c00 commit aef04cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
FROM tiangolo/uwsgi-nginx-flask:python3.11

ENV FLASK_APP=cookbook:app
ENV STATIC_PATH=/app/cookbook/main/static
ENV UWSGI_INI=/app/uwsgi.ini
# NOTE: This variable is used by the base docker image to configure where static
# files are served from. It is not the same as the STATIC_FOLDER configuration variable.
ENV STATIC_PATH=/app/cookbook/main/static

WORKDIR /app
COPY ./uwsgi.ini /app/uwsgi.ini
Expand Down

0 comments on commit aef04cb

Please sign in to comment.