Selaa lähdekoodia

Expose port

master
jfinn 1 vuosi sitten
vanhempi
commit
dca29328bf
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile Näytä tiedosto

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

Loading…
Peruuta
Tallenna