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