Skip to content

Commit dfc2bf6

Browse files
committed
Basic app works after docker build.
1 parent 3316040 commit dfc2bf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ WORKDIR /home/app/
77

88
EXPOSE 5000
99

10-
ENTRYPOINT ["python", "app.py"]
10+
ENTRYPOINT ["python3", "app.py"]

app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def home():
88
return 'hello world'
99

1010
if __name__ == '__main__':
11-
app.run()
11+
app.run(host='0.0.0.0')

0 commit comments

Comments
 (0)