Configure timezone in docker image
This commit is contained in:
parent
4bed5c9671
commit
46d60ca48f
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue