blob: 946caa16911cf95f68a0d2e4ed02465ffa685100 [file] [log] [blame]
FROM tiangolo/uwsgi-nginx-flask:python3.6-alpine3.7
RUN adduser -D infra
ENV UWSGI_INI /data/nolabs/app/uwsgi.ini
WORKDIR /data/nolabs/app
RUN apk --update add bash vim curl git mysql-client mariadb-dev alpine-sdk python3-dev libffi-dev
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
ENV STATIC_PATH /data/nolabs/app/app/static
ENV LISTEN_PORT 8080
EXPOSE 8080