Fix docker image
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
.gitlab-ci.yml
|
||||
.parcel-cache/
|
||||
node_modules/
|
||||
LICENSE
|
||||
docker-compose.yml
|
||||
Dockerfile
|
||||
@@ -4,10 +4,10 @@ LABEL description=""
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY ["package.json", "./"]
|
||||
COPY ["package-lock.json", "./"]
|
||||
COPY ["yarn.lock", "./"]
|
||||
|
||||
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"]
|
||||
RUN npm run Prod
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"sass": "^1.30.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "16.*"
|
||||
"node": "17.*"
|
||||
},
|
||||
"resolutions": {
|
||||
"node-forge": "0.10.0"
|
||||
|
||||
Reference in New Issue
Block a user