]> Untitled Git - web-gallery.git/blob - Dockerfile
Initial hello
[web-gallery.git] / Dockerfile
1 FROM python:3.7-alpine
2
3 ENV FLASK_APP=app.py
4 ENV FLASK_RUN_HOST=0.0.0.0
5 ENV FLASK_PORT=5000
6
7 EXPOSE 5000
8
9 RUN apk update && \
10     apk add --no-cache gcc musl-dev linux-headers libpq-dev python3-dev
11
12 WORKDIR /app
13 COPY ./app /app
14 COPY ./requirements.txt /app
15 RUN pip install -r requirements.txt
16
17 CMD ["flask", "run"]