Skip to content

Commit

Permalink
加入gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
kateier committed Dec 13, 2018
1 parent 37e1d75 commit 340bfdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ docker-compose*
.idea/
.travis.yml

admin.sh

test
screenshot
migrations
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:2.7

ENV FLASK_APP waller.py

WORKDIR /usr/app/

COPY ./requirements/prod.txt .
Expand All @@ -8,6 +10,6 @@ RUN pip install futures
RUN pip install -r prod.txt -i https://mirrors.aliyun.com/pypi/simple

COPY . .
RUN python waller.py db upgrade
RUN flask db upgrade

CMD python waller.py start

0 comments on commit 340bfdd

Please sign in to comment.