FROM alpine:latest RUN apk update && apk add python3 py3-setuptools py3-virtualenv RUN apk add postgresql-dev gcc python3-dev libc-dev COPY app/requirements.txt /requirements.txt RUN pip3 install -r /requirements.txt COPY app/ /app/ VOLUME ['/var/lib/dispatch']