Browse Source

reactor:修改文档文件;

zhangchong 1 year ago
parent
commit
e6566cee6c
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Dockerfile

+ 2 - 4
Dockerfile

@@ -1,7 +1,5 @@
-FROM nginx:latest
+FROM nginx:stable
 
 
 COPY nginx.conf /etc/nginx/nginx.conf
 COPY nginx.conf /etc/nginx/nginx.conf
 
 
-COPY ./ /usr/share/nginx/html
-
-CMD ["sh", "-c", "sed -i \"s@<html@<html data-env=\"$API_ENV\"@\" /usr/share/nginx/html/index.html; nginx -g \"daemon off;\""]
+COPY ./ /usr/share/nginx/html