mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-03 02:24:36 +00:00
feat : 调整前端工程设置8080端口
This commit is contained in:
parent
36582b1c16
commit
8e4599c5cb
2 changed files with 3 additions and 3 deletions
|
|
@ -18,6 +18,6 @@ COPY nginx.conf.template /etc/nginx/templates/default.conf.template
|
|||
COPY runtime-config.js.template /usr/share/nginx/html/runtime-config.js.template
|
||||
COPY docker-entrypoint.d/30-runtime-config.sh /docker-entrypoint.d/30-runtime-config.sh
|
||||
RUN chmod +x /docker-entrypoint.d/30-runtime-config.sh
|
||||
EXPOSE 80
|
||||
EXPOSE 8080
|
||||
HEALTHCHECK --interval=10s --timeout=3s \
|
||||
CMD wget -qO- http://127.0.0.1/nginx-health || exit 1
|
||||
CMD wget -qO- http://127.0.0.1:8080/nginx-health || exit 1
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 8080;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue