chore: initial backend + travel-proxy dockerized setup for NAS deployment

This commit is contained in:
2026-01-25 11:27:18 +09:00
parent 0fa163c00a
commit 9c9968b9a7
15 changed files with 1219 additions and 0 deletions

22
travel-proxy/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM python:3.12-slim
# Pillow용 시스템 라이브러리
RUN apt-get update && apt-get install -y \
libjpeg-dev \
zlib1g-dev \
libpng-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app /app/app
ENV TRAVEL_ROOT=/data/travel
EXPOSE 8000
ENV PYTHONUNBUFFERED=1
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]