From e2c42023515d8223d5c30bd15cdb97eccae1446f Mon Sep 17 00:00:00 2001 From: zzx Date: Fri, 4 Aug 2023 15:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- docker-compose.yml | 7 ++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9b916cd..c7295bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM nginx:latest WORKDIR /usr/share/nginx/html/ - -COPY ./build /usr/share/nginx/html/ +COPY ./src /usr/share/nginx/html/ +COPY ./dist /usr/share/nginx/html/ EXPOSE 80 + diff --git a/docker-compose.yml b/docker-compose.yml index 7390d43..d0409cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,12 @@ version: '3.7' services: - gms-front: - image: linear-repo-registry-vpc.cn-shanghai.cr.aliyuncs.com/platform/dream-hd:release + linear-hd: + image: linear-repo-registry-vpc.cn-shanghai.cr.aliyuncs.com/platform/dream-hd:zzx_local_1691056885 privileged: true cap_add: - ALL restart: always container_name: dream-hd - resources: - limits: - cpus: "0.30" expose: - 80 ports: