yuanhung yeh
2020-10-27 5b98e9857d5081c30fcef0206c38f384dc542514
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python-env:flask
 
WORKDIR /app
 
ADD . /app
 
ENV PG_HOST=192.168.11.42
ENV PG_PORT=5115
ENV PG_DATABASE=pgDMMS
ENV PG_USER=postgres 
ENV PG_PASS=simple000
ENV DB_SRS=3826
ENV HTTP_PROXY=
ENV HTTPS_PROXY=
VOLUME ['/app/logs'] 
 
EXPOSE 5000
 
#ENTRYPOINT ["gunicorn","-w","1","-b","0.0.0.0:5000","wsgi:app"]
ENTRYPOINT ["python3", "app.py"]
#CMD