Steve/EV Dashboard/nginx 도커파일 및 설정파일 추가

This commit is contained in:
byun
2026-05-26 21:10:16 +09:00
parent 8617642fae
commit 607e4d758b
9 changed files with 402 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
FROM python:3.11-slim
WORKDIR /code
# 시스템 패키지
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libpq-dev && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app /code/app
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]