Browse Source

[REV] 恢复reg镜像仓库使用

pujielan 1 year ago
parent
commit
0c60cb9f1e
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Dockerfile
  2. 2 2
      Makefile

+ 1 - 1
Dockerfile

@@ -1,3 +1,3 @@
-FROM nginx
+FROM nginx:1.25.3
 COPY dist /usr/share/nginx/html/
 EXPOSE 80

+ 2 - 2
Makefile

@@ -56,8 +56,8 @@ test-api:
 	go test -v ./test/api
 
 DOCKER_IMAGE_NAME=observe-front
-#DOCKER_REMOTE_IMAGE_NAME=reg.cestong.com.cn/cecf/${DOCKER_IMAGE_NAME}
-DOCKER_REMOTE_IMAGE_NAME=pujielan/${DOCKER_IMAGE_NAME}
+DOCKER_REMOTE_IMAGE_NAME=reg.cestong.com.cn/cecf/${DOCKER_IMAGE_NAME}
+#DOCKER_REMOTE_IMAGE_NAME=pujielan/${DOCKER_IMAGE_NAME}
 
 docker-build:
 	npm run build:prod