fastapi-chat2 / Dockerfile
deepak191z's picture
Update Dockerfile
343199b verified
raw
history blame contribute delete
299 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
RUN pip install -U g4f[all]
COPY . /app
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]