test1-ssboost / Dockerfile
ssboost's picture
Update Dockerfile
50069eb verified
Raw History Blame Contribute Delete
342 Bytes
# Python ๋ฒ ์ด์Šค ์ด๋ฏธ์ง€ ์‚ฌ์šฉ
FROM python:3.8-slim
# ์ž‘์—… ๋””๋ ‰ํ„ฐ๋ฆฌ ์„ค์ •
WORKDIR /app
# ํ•„์š”ํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ฝ”๋“œ ๋ณต์‚ฌ
COPY . .
# FastAPI ์„œ๋ฒ„ ์‹คํ–‰
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7910"]