Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ COPY . /app
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# 使端口可供此容器外的世界使用
|
14 |
-
EXPOSE
|
15 |
|
16 |
# 在容器启动时运行 main.py
|
17 |
CMD ["python", "app.py"]
|
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# 使端口可供此容器外的世界使用
|
14 |
+
EXPOSE 8080
|
15 |
|
16 |
# 在容器启动时运行 main.py
|
17 |
CMD ["python", "app.py"]
|