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
RUN apt-get update && apt-get install -y curl
RUN mkdir /app && mkdir /db
RUN apt-get update \
&& apt-get install -y curl \
&& echo "Europe/Paris" > /etc/timezone \
&& mkdir /app && mkdir /db
WORKDIR /app
COPY requirements.txt ./
RUN pip install -r requirements.txt