storage / Dockerfile
Bc-AI's picture
Create Dockerfile
b052353 verified
Raw History Blame Contribute Delete
251 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY server.py .
RUN mkdir -p /app/data && chmod -R 777 /app
EXPOSE 7860
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]