컨테이너 타임존 설정
This commit is contained in:
parent
69ff0d4b3f
commit
0350ff4fe2
@ -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 .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user