백엔드 프레임 설계
This commit is contained in:
1 parent
d264104077
commit
f7833ba466
62 files changed
+1397
No files matched your search
@@ -0,0 +1,16 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# 의존성 먼저 설치 (레이어 캐시 활용)
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
# docker-compose 에서 APP_ENV=docker 로 config.docker.toml 을 읽는다.
|
||||
ENV APP_ENV=docker
|
||||
|
||||
EXPOSE 9300
|
||||
|
||||
CMD ["python", "web_main.py"]
|
||||
Reference in new issue
Block a user