add TZ local

resolves https://github.com/SpudGunMan/meshing-around/issues/72
This commit is contained in:
SpudGunMan
2024-09-30 21:17:03 -07:00
parent 47a9981fdf
commit 5cdf159bc1

View File

@@ -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