From e9cb109a74c8afba336f7dbbd0f525d7f4e2024a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 2 Apr 2018 12:56:50 +0200 Subject: [PATCH] Use Europe/Paris timezone and group ENV --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8825c4c..330c291 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM python:3.6 +RUN ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime && \ + dpkg-reconfigure -f noninteractive tzdata + WORKDIR /app EXPOSE 8000 VOLUME /app/staticfiles -ENV DATABASE_URL postgres://postgresql:postgresql@db:5432/workout RUN pip3 install pipenv COPY Pipfile Pipfile.lock ./ @@ -14,6 +16,7 @@ COPY . ./ RUN chmod +x bash/run-prod.sh CMD bash/run-prod.sh +ENV DATABASE_URL postgres://postgresql:postgresql@db:5432/workout ENV SECRET_KEY '' ENV MAILGUN_ACCESS_KEY '' ENV MAILGUN_SERVER_NAME ''