From 5cdf159bc137af3d9c80c99e4a1fd8769efc2f2e Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 30 Sep 2024 21:17:03 -0700 Subject: [PATCH] add TZ local resolves https://github.com/SpudGunMan/meshing-around/issues/72 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe3b3bb..d213cd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,14 @@ FROM python:3.10-slim ENV PYTHONUNBUFFERED=1 -RUN apt-get update && apt-get install -y gettext locales && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y gettext tzdata locales && rm -rf /var/lib/apt/lists/* # Set the locale default to en_US.UTF-8 RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ dpkg-reconfigure --frontend=noninteractive locales && \ update-locale LANG=en_US.UTF-8 ENV LANG en_US.UTF-8 +ENV TZ="America/Los_Angeles" WORKDIR /app COPY . /app