From 4b8d4150f3aaca397c733b19f52a4f42fc2372fa Mon Sep 17 00:00:00 2001 From: hbyang Date: Mon, 1 Jun 2026 15:13:24 +0900 Subject: [PATCH] =?UTF-8?q?docker-compose=20=EC=88=98=EC=A0=95=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 407abb4..74cd784 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ FROM python:3.12-slim-bookworm ENV PYTHONUNBUFFERED=1 \ PIP_NO_CACHE_DIR=1 \ - PORT=10001 \ + PORT=21500 \ WEBAPP_DIR=/app/webapp \ OUTPUTS_DIR=/app/server/outputs \ UPLOADS_DIR=/app/server/.uploads @@ -40,6 +40,6 @@ COPY webapp ./webapp # Remotion이 쓰는 headless 브라우저 미리 다운로드 (런타임 첫 렌더 지연 제거) RUN cd remotion && npx remotion browser ensure -EXPOSE 10001 +EXPOSE 21500 WORKDIR /app/server CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT}"] diff --git a/docker-compose.yml b/docker-compose.yml index 264a2aa..56362a3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: dockerfile: Dockerfile image: ado2-hookit:local ports: - - "10001:10001" + - "21500:21500" # .env 의 모든 키를 컨테이너로 주입 (config.py 가 읽음) env_file: - .env