update app #40: add missing media folder in Dockerfile-back

This commit is contained in:
nobohan 2023-07-13 17:49:19 +02:00
parent 78efb59f9f
commit 43e480daab

View File

@ -34,6 +34,8 @@ USER appuser
WORKDIR /home/appuser/citizen/backend/ WORKDIR /home/appuser/citizen/backend/
RUN mkdir /home/appuser/citizen/media/
ENV VIRTUAL_ENV=/home/appuser/citizen/backend/venv2/ ENV VIRTUAL_ENV=/home/appuser/citizen/backend/venv2/
RUN python3 -m venv $VIRTUAL_ENV RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH" ENV PATH="$VIRTUAL_ENV/bin:$PATH"