Skip to content

Commit fdb8059

Browse files
authored
Merge pull request #5 from kengwang/main
chore: Uncomment EXPOSE (Fix #4)
2 parents 60d614d + d894b34 commit fdb8059

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web-java-openjdk8/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ LABEL auther_template="CTF-Archives"
77
COPY ./src /app
88
COPY ./service/docker-entrypoint.sh /docker-entrypoint.sh
99

10-
开放的端口取决于服务,一般为8080
11-
# EXPOSE 8080
10+
# 开放的端口取决于服务,默认 Demo 为8080
11+
EXPOSE 8080
1212

1313
# 指定容器入口点
1414
ENTRYPOINT [ "/bin/bash","/docker-entrypoint.sh" ]

web-lamp-php80/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN sh -c 'mysqld_safe &' \
4747
# 设置shell的工作目录
4848
WORKDIR /var/www/html
4949

50-
# # EXPOSE 80
50+
EXPOSE 80
5151

5252
# 设置nginx日志保存目录
5353
VOLUME ["/var/log/nginx"]

0 commit comments

Comments
 (0)