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
|
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
|
||||||
|
|
Reference in a new issue