컨테이너 타임존 설정

This commit is contained in:
SR07 2025-05-27 10:07:43 +09:00
parent 69ff0d4b3f
commit 0350ff4fe2

View File

@ -1,5 +1,14 @@
FROM python:3.11-slim
ENV TZ=Asia/Seoul
RUN apt update && \
apt install -y tzdata && \
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
echo "Asia/Seoul" > /etc/timezone && \
pip install --no-cache-dir -r requirements.txt && \
apt clean
WORKDIR /app
COPY requirements.txt .