Explorar el Código

Expose port

master
jfinn hace 1 año
padre
commit
dca29328bf
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile Ver fichero

@@ -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…
Cancelar
Guardar