-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Blue
committed
Jul 9, 2020
1 parent
42a9258
commit 40dd543
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM python:3.6 | ||
|
||
COPY requirements.txt requirements.txt | ||
|
||
RUN pip install -U pip wheel setuptools \ | ||
&& pip install -r requirements.txt | ||
|
||
ADD . . | ||
|
||
EXPOSE 8888 | ||
|
||
CMD python web.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
|
||
WARNINGS = True | ||
SAFE = True | ||
DEBUG = True | ||
IS_WEB = False | ||
DEBUG = False | ||
IS_WEB = True |