fastapi-chat / Dockerfile
deepak191z's picture
Update Dockerfile
45098cb verified
raw
history blame
271 Bytes
FROM python:3.13-slim
WORKDIR /app
RUN python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8080
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]