Spaces:
Sleeping
Sleeping
# syntax=docker/dockerfile:1 | |
FROM python:3.8-slim-buster | |
WORKDIR /python-docker | |
COPY requirements.txt requirements.txt | |
RUN pip3 install -r requirements.txt | |
EXPOSE 7860 | |
COPY . . | |
ENV FLASK_APP=app.py | |
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0", "--port=7860"] |