Skip to content

Commit d150b9a

Browse files
committed
Updated base image
Signed-off-by: Paul Schultz <[email protected]>
1 parent 0ae9afa commit d150b9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def hello():
88
return "Hello World!"
99

1010
if __name__ == '__main__':
11-
port = int(os.environ.get('FLASK_PORT')) or 8080
11+
port = os.environ.get('FLASK_PORT') or 8080
12+
port = int(port)
1213

1314
app.run(port=port,host='0.0.0.0')

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:slim
1+
FROM quay.io/devfile/python:slim
22

33
# By default, listen on port 8081
44
EXPOSE 8081/tcp

0 commit comments

Comments
 (0)