AI-Chat-Character / Dockerfile
Lyon28's picture
Create Dockerfile
b15fe01 verified
raw
history blame
306 Bytes
FROM python:3.9-slim
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./app /code/app
# Port 8000 adalah default yang bagus untuk FastAPI di Docker
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]