DocsGPT/application/Dockerfile

12 lines
193 B
Docker
Raw Normal View History

2023-02-03 12:45:29 +00:00
FROM python:3.9
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
ENV FLASK_APP=app.py
ENV FLASK_ENV=development
EXPOSE 5000
CMD ["flask", "run", "--host=0.0.0.0"]