skin-advisor-api / Dockerfile
lingling707's picture
Create Dockerfile
281bde3 verified
raw
history blame contribute delete
259 Bytes
FROM python:3.10
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
# Vì file của bạn tên main.py và có app = FastAPI()
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]