Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffVandrewJr committed Dec 30, 2018
1 parent 136c99d commit 635d9b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ COPY . /patron
RUN apk add --no-cache gcc musl-dev libffi libffi-dev python3-dev openssl-dev tzdata
RUN pip install gunicorn
RUN pip install -r requirements.txt
RUN flask db upgrade

CMD flask db upgrade

ENV FLASK_APP=patron.py
ENV TZ=America/New_York
ENV SQLALCHEMY_DATABASE_URI=/var/lib/db
ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:8001 --workers=3 --access-logfile=- --error-logfile=-"

Expand Down

0 comments on commit 635d9b2

Please sign in to comment.