This website works better with JavaScript.
Home
Explore
Help
Sign In
dan
/
ti-dashboard
Watch
2
Star
1
Fork
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
Browse Source
Docker stuffs
mistress
Daniel Muckerman
4 years ago
parent
5077c86cb4
commit
ef2bcc1573
3 changed files
with
11 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
Dockerfile
+1
-1
app.py
+0
-0
config/config.yaml
+ 10
- 0
Dockerfile
View File
@ -0,0 +1,10 @@
FROM
python:3.7
LABEL
maintainer
=
"Dan Muckerman <danielmuckerman@me.com>"
WORKDIR
/project
ADD
. /project
RUN
rm -rf /project/env
RUN
pip install -r requirements.txt
CMD
[
"flask"
,
"run"
,
"--host=0.0.0.0"
]
+ 1
- 1
app.py
View File
@ -7,7 +7,7 @@ Bootstrap(app)
app
.
secret_key
=
'
asdf
'
app
.
debug
=
True
with
open
(
'
config.yaml
'
)
as
f
:
with
open
(
'
config
/config
.yaml
'
)
as
f
:
yaml_data
=
yaml
.
load
(
f
,
Loader
=
yaml
.
SafeLoader
)
search
=
yaml_data
[
'
search
'
]
config.yaml → config/config.yaml
View File
Write
Preview
Loading…
Cancel
Save