fastapi-chat / Dockerfile
deepak191z's picture
Update Dockerfile
7593972 verified
raw
history blame contribute delete
231 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 7860
CMD ["python3", "main.py"]