Spaces:
Sleeping
Sleeping
chienweichang
commited on
Commit
•
38ec906
1
Parent(s):
dccfba4
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -15,7 +15,7 @@ RUN npm install -g serve
|
|
15 |
COPY . .
|
16 |
|
17 |
# 暴露應用運行的端口
|
18 |
-
EXPOSE
|
19 |
|
20 |
-
# 運行應用程序並啟用 CORS
|
21 |
-
CMD ["serve", "-s", ".", "-l", "
|
|
|
15 |
COPY . .
|
16 |
|
17 |
# 暴露應用運行的端口
|
18 |
+
EXPOSE 7860
|
19 |
|
20 |
+
# 運行應用程序並啟用 CORS,端口設置為 7860
|
21 |
+
CMD ["serve", "-s", ".", "-l", "7860"]
|