ソースを参照

Expose port

master
jfinn 1年前
コミット
dca29328bf
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile ファイルの表示

@@ -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"]

読み込み中…
キャンセル
保存