1
0
mirror of https://github.com/docker/awesome-compose.git synced 2025-07-01 18:12:55 +00:00
awesome-compose/nginx-flask-mysql/backend/Dockerfile
Anca Iordache 92a9311d8a connect backend to db in nginx-flask-mysql
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-17 21:55:32 +01:00

9 lines
192 B
Docker
Executable File

FROM python:3.8-alpine
ENV PYTHONUNBUFFERED 1
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