Skip to content

Commit 6802879

Browse files
committed
Update Dockerfile
1 parent bce349f commit 6802879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ARG UID=1000
1010
RUN useradd --no-create-home --shell /bin/false --uid ${UID} ${USER}
1111

1212
# set up environment
13-
ARG VIRTUAL_ENV=/work/venv
13+
ARG APP_HOME=/work/app
14+
ARG VIRTUAL_ENV=${APP_HOME}/.venv
1415
ENV PYTHONFAULTHANDLER=1 \
1516
PYTHONUNBUFFERED=1 \
1617
VIRTUAL_ENV=${VIRTUAL_ENV} \
1718
PATH=${VIRTUAL_ENV}/bin:${PATH}
1819

19-
ARG APP_HOME=/work/app
2020
WORKDIR ${APP_HOME}
2121

2222
##

0 commit comments

Comments
 (0)