Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 470 Bytes
FROM python:3.7.2-alpine3.8
WORKDIR /patron
COPY . /patron
RUN apk add --no-cache gcc musl-dev libffi libffi-dev python3-dev openssl-dev tzdata linux-headers
RUN ln -sf /usr/share/zoneinfo/Universal /etc/localtime
RUN pip install -r requirements.txt
RUN chmod +x boot.sh
ENV FLASK_APP=patron.py
ENV TZ=Universal
ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:8006 --workers=3 --graceful-timeout 15 --access-logfile=- --error-logfile=-"
EXPOSE 8006
ENTRYPOINT ["./boot.sh"]
You can’t perform that action at this time.