flash / Dockerfile
sonygod's picture
111
1ba7fb7
raw
history blame contribute delete
241 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
COPY ./app.py /app/app.py
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]