feat: init

This commit is contained in:
OhSeongRak
2025-06-11 16:07:05 +09:00
parent 885fcf0977
commit b7c1f89269
3 changed files with 35 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Dockerfile
FROM python:3.11-slim
WORKDIR /app
# 시스템 패키지 설치
RUN apt-get update && apt-get install -y \
fonts-dejavu-core \
&& rm -rf /var/lib/apt/lists/*
# Python 의존성 설치
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 애플리케이션 코드 복사
COPY . .
# 업로드 디렉토리 생성
RUN mkdir -p uploads/temp templates/poster_templates
# 포트 노출
EXPOSE 5000
# 애플리케이션 실행
CMD ["python", "app.py"]