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: