Fatih Degirmenci | c2a4601 | 2019-09-30 12:07:45 +0200 | [diff] [blame] | 1 | FROM tiangolo/uwsgi-nginx-flask:python3.6-alpine3.7 |
2 | RUN adduser -D infra | ||||
3 | ENV UWSGI_INI /data/nolabs/app/uwsgi.ini | ||||
4 | WORKDIR /data/nolabs/app | ||||
5 | RUN apk --update add bash vim curl git mysql-client mariadb-dev alpine-sdk python3-dev libffi-dev | ||||
6 | COPY requirements.txt requirements.txt | ||||
7 | RUN pip install -r requirements.txt | ||||
8 | ENV STATIC_PATH /data/nolabs/app/app/static | ||||
9 | ENV LISTEN_PORT 8080 | ||||
10 | EXPOSE 8080 |