💚 trying to fix CI build in gcp

This commit is contained in:
ChatonDeAru 2024-03-24 10:52:06 +01:00
parent a0c4396527
commit fd5e8f682b
No known key found for this signature in database
GPG Key ID: 3CADF765A409F755
3 changed files with 2 additions and 3 deletions

View File

@ -29,4 +29,3 @@ app/**/.vite
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?

View File

@ -20,7 +20,7 @@ USER $user
WORKDIR $project_dir WORKDIR $project_dir
## Copy file for YARN then install all deps ## Copy file for YARN then install all deps
COPY --chown=$user .yarnrc.yml yarn.lock* package.json ./ COPY --chown=$user .yarnrc.yml yarn.lock package.json ./
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
COPY --chown=$user . . COPY --chown=$user . .

View File

@ -8,7 +8,7 @@ services:
args: args:
- NODE_ENV=development - NODE_ENV=development
volumes: volumes:
- .:/opt/node_app/app:delegated - ./:/opt/node_app/app:delegated
- ./package.json:/opt/node_app/app/package.json - ./package.json:/opt/node_app/app/package.json
- ./yarn.lock:/opt/node_app/app/yarn.lock:cached - ./yarn.lock:/opt/node_app/app/yarn.lock:cached
ports: ports: