X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docker%2FDockerfile;h=3d57d1a45ba60ece0a012d9679a04fd065393401;hb=5148ca7aaf464c84f2edce6ed00f94ce0bb4b610;hp=2aae47f2c2a69f0b73154601ae4e3af8ffd743a0;hpb=17bfa1b672f294e7af4c9a344cb42628cf0c1d87;p=e-mobility-charging-stations-simulator.git diff --git a/docker/Dockerfile b/docker/Dockerfile index 2aae47f2..3d57d1a4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,7 +6,7 @@ RUN apk add --no-cache --virtual .gyp \ # Build simulator WORKDIR /usr/builder -COPY package.json package-lock.json tsconfig.json rollup.config.mjs prepare.js build-requirements.js ./ +COPY .npmrc package.json package-lock.json tsconfig.json rollup.config.mjs prepare.js build-requirements.js ./ COPY src ./src COPY docker/config.json ./src/assets/config.json COPY docker/authorization-tags.json ./src/assets/authorization-tags.json @@ -15,7 +15,7 @@ RUN npm run build # Build simulator dashboard WORKDIR /usr/builder/webui -COPY src/ui/web ./ +COPY ui/web ./ RUN npm set progress=false && npm config set depth 0 && npm cache clean --force && npm install RUN npm run build