aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch/3.6/Dockerfile
blob: 46bc12477ce86ddda02db080c74c267cc8099b27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.6-stretch

ARG EXTRAS=deploy

RUN apt-get update -y
RUN apt-get install -y \
                autoconf \
                automake \
                cmake \
                gcc \
                git \
                libc-dev \
                libpq-dev


RUN python3 -m pip install .[$EXTRAS]

CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati