Fix docker image

This commit is contained in:
2022-04-13 23:19:24 +00:00
parent 9cfa0c215b
commit 26792ca58f
3 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
.gitlab-ci.yml .gitlab-ci.yml
.parcel-cache/
node_modules/
LICENSE LICENSE
docker-compose.yml docker-compose.yml
Dockerfile Dockerfile

View File

@@ -4,10 +4,10 @@ LABEL description=""
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY ["package.json", "./"] COPY ["package.json", "./"]
COPY ["package-lock.json", "./"] COPY ["yarn.lock", "./"]
FROM base AS builder FROM base AS builder
RUN npm set progress=false && npm config set depth 0 && npm run preinit && npm ci RUN yarn install
COPY ["src/", "./src"] COPY ["src/", "./src"]
RUN npm run Prod RUN npm run Prod

View File

@@ -24,7 +24,7 @@
"sass": "^1.30.0" "sass": "^1.30.0"
}, },
"engines": { "engines": {
"node": "16.*" "node": "17.*"
}, },
"resolutions": { "resolutions": {
"node-forge": "0.10.0" "node-forge": "0.10.0"