awesome-compose/nginx-flask-mysql/backend/Dockerfile
Anca Iordache aed528ccf7 Set different networks for db-backend and backend-proxy
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-19 22:37:57 +01:00

8 lines
169 B
Docker
Executable File

FROM python:3.8-alpine
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
ENV FLASK_APP hello.py
CMD flask run --host=0.0.0.0