Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -2,6 +2,14 @@ FROM python:3.9-slim
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
build-essential \
|
7 |
curl \
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
# Set the timezone to Central European Time
|
6 |
+
ENV TZ=Europe/Paris
|
7 |
+
|
8 |
+
# Install tzdata to apply timezone config
|
9 |
+
RUN apt-get update && apt-get install -y tzdata && \
|
10 |
+
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
11 |
+
|
12 |
+
|
13 |
RUN apt-get update && apt-get install -y \
|
14 |
build-essential \
|
15 |
curl \
|