paac_api / Dockerfile
Dimrror's picture
Update Dockerfile
3200bf6 verified
Raw History Blame Contribute Delete
228 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]