File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,19 @@ LABEL org.opencontainers.image.licenses="AGPL-3.0-only"
1616ARG APP_UID=1000
1717ARG APP_GID=1000
1818
19- ENV APP_NAME dejacode
20- ENV APP_USER app
21- ENV APP_UID ${APP_UID}
22- ENV APP_GID ${APP_GID}
23- ENV APP_DIR /opt/$APP_NAME
24- ENV VENV_LOCATION /opt/$APP_NAME/.venv
19+ ENV APP_NAME= dejacode
20+ ENV APP_USER= app
21+ ENV APP_UID= ${APP_UID}
22+ ENV APP_GID= ${APP_GID}
23+ ENV APP_DIR= /opt/$APP_NAME
24+ ENV VENV_LOCATION= /opt/$APP_NAME/.venv
2525
2626# Force Python unbuffered stdout and stderr (they are flushed to terminal immediately)
27- ENV PYTHONUNBUFFERED 1
27+ ENV PYTHONUNBUFFERED= 1
2828# Do not write Python .pyc files
29- ENV PYTHONDONTWRITEBYTECODE 1
29+ ENV PYTHONDONTWRITEBYTECODE= 1
3030# Add the app dir in the Python path for entry points availability
31- ENV PYTHONPATH $PYTHONPATH:$APP_DIR
31+ ENV PYTHONPATH= $PYTHONPATH:$APP_DIR
3232
3333# OS requirements
3434RUN apt-get update \
@@ -59,7 +59,7 @@ RUN mkdir -p /var/$APP_NAME/static/ /var/$APP_NAME/media/
5959# Create the virtualenv
6060RUN python -m venv $VENV_LOCATION
6161# Enable the virtualenv, similar effect as "source activate"
62- ENV PATH $VENV_LOCATION/bin:$PATH
62+ ENV PATH= $VENV_LOCATION/bin:$PATH
6363
6464# Install the dependencies before the codebase COPY for proper Docker layer caching
6565COPY --chown=$APP_USER:$APP_USER setup.cfg setup.py $APP_DIR/
You can’t perform that action at this time.
0 commit comments