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