Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cloud-native
lab-docker-demo
Commits
9737a4cc
Commit
9737a4cc
authored
Nov 13, 2021
by
Nane Kratzke
Browse files
Added pandas to have a long running installation step
parent
df3271d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
9737a4cc
FROM
python:3-
alpine
FROM
python:3-
slim
WORKDIR
/app
ADD
requirements.txt ./
RUN
pip
install
-r
requirements.txt
&&
rm
requirements.txt
RUN
pip
install
-r
requirements.txt
ADD
app.py ./
CMD
["python", "-u", "app.py"]
ADD
. ./
app.py
View file @
9737a4cc
...
...
@@ -10,5 +10,5 @@ def index():
<p>
{
content
}
</p>
"""
print
(
"
This is mor efficient
"
)
print
(
"
Starting ...
"
)
app
.
run
(
host
=
"0.0.0.0"
,
port
=
8080
)
\ No newline at end of file
requirements.txt
View file @
9737a4cc
flask
\ No newline at end of file
flask
pandas
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment