aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine/3.6/Dockerfile
blob: c062ee8e723368e129954921b4771eb2ab2c49bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.6-alpine

ARG EXTRAS=deploy

RUN apk add git libpq postgresql-dev gcc cmake autoconf automake musl-dev

COPY . /app
WORKDIR /app

RUN python3 -m pip install .[$EXTRAS]
RUN apk del git gcc cmake autoconf automake

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