diff --git a/.dockerignore b/.dockerignore index c597bf4..d6db177 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,6 @@ .gitlab-ci.yml +.parcel-cache/ +node_modules/ LICENSE docker-compose.yml Dockerfile \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6c12047..ebe3c1c 100644 --- a/Dockerfile +++ b/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 diff --git a/package.json b/package.json index df9c2ab..fe5ac28 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "sass": "^1.30.0" }, "engines": { - "node": "16.*" + "node": "17.*" }, "resolutions": { "node-forge": "0.10.0"