19 lines
384 B
Docker
19 lines
384 B
Docker
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 && \
|
|
apt clean
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|