From 18b28e07ea191197f0a0beb5ead4b4c02550e91b Mon Sep 17 00:00:00 2001 From: Tom Valk Date: Thu, 2 Jan 2020 12:18:59 +0200 Subject: [PATCH] [TASK] Set IS_DOCKER env variable. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eed200e..47aa0ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM python:3.7 LABEL maintainer="Tom Valk " ENV PROJECT_ROOT /app +ENV IS_DOCKER 1 # Create maniaplanet user/group RUN addgroup --gid 1000 maniaplanet && \ @@ -29,4 +30,4 @@ RUN cp ../base.py $PROJECT_ROOT/server/settings/base.py VOLUME $PROJECT_ROOT/server/ ENTRYPOINT [ "./manage.py" ] -CMD [ "start", "--pool=default", "--settings=settings" ] \ No newline at end of file +CMD [ "start", "--pool=default", "--settings=settings" ]