Configure timezone in docker image

This commit is contained in:
Gabriel Augendre 2020-08-17 12:51:21 +02:00
parent 4bed5c9671
commit 46d60ca48f

View file

@ -1,7 +1,10 @@
FROM python:3.8.5-slim FROM python:3.8.5-slim
RUN apt-get update && apt-get install -y curl RUN apt-get update \
RUN mkdir /app && mkdir /db && apt-get install -y curl \
&& echo "Europe/Paris" > /etc/timezone \
&& mkdir /app && mkdir /db
WORKDIR /app WORKDIR /app
COPY requirements.txt ./ COPY requirements.txt ./
RUN pip install -r requirements.txt RUN pip install -r requirements.txt