Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[TASK] Set IS_DOCKER env variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvlk committed Jan 2, 2020
1 parent 42ca2cc commit 18b28e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.7
LABEL maintainer="Tom Valk <tomvalk@lt-box.info>"
ENV PROJECT_ROOT /app
ENV IS_DOCKER 1

# Create maniaplanet user/group
RUN addgroup --gid 1000 maniaplanet && \
Expand Down Expand Up @@ -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" ]
CMD [ "start", "--pool=default", "--settings=settings" ]

0 comments on commit 18b28e0

Please sign in to comment.