Browse Source

Expose port

master
jfinn 5 months ago
parent
commit
dca29328bf
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -8,5 +8,6 @@ WORKDIR /docker-flask-test
8 8
 ADD . /docker-flask-test
9 9
 # run pip to install the dependencies of the flask app
10 10
 RUN pip install -r requirements.txt
11
+EXPOSE 5000
11 12
 # define the command to start the container
12
-CMD ["python","app.py"]
13
+CMD ["python","app.py"]

Loading…
Cancel
Save