flask_app / Dockerfile
Rishabh IO
updated Docker
38ed562
raw
history blame
210 Bytes
FROM python:3.9-slim-buster
WORKDIR /app
COPY ./requirements.txt /app
RUN pip install -r requirements.txt
COPY . .
EXPOSE 5000
ENV FLASK_APP=app.py
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "7860"]