deepguard-api / Dockerfile
Fuuji's picture
Rename dockerfile to Dockerfile
10d458f verified
Raw
History Blame Contribute Delete
239 Bytes
FROM python:3.10
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /.cache && chmod 777 /.cache
EXPOSE 7860
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]