From: Jérôme Benoit Date: Wed, 9 Mar 2022 22:56:07 +0000 (+0100) Subject: Really fix docker image build X-Git-Tag: v1.1.54~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=719f4e97108f4315aa60b8bb0ebc55b59c061ec3;p=e-mobility-charging-stations-simulator.git Really fix docker image build Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index f6578c3d..b27a6ebb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,11 +2,11 @@ FROM node:lts-alpine as builder WORKDIR /usr/builder -COPY package.json package-lock.json ./ +COPY package.json package-lock.json prepare.js ./ RUN npm set progress=false && npm config set depth 0 && npm cache clean --force RUN npm install -COPY tsconfig.json rollup.config.js prepare.js ./ +COPY tsconfig.json rollup.config.js ./ COPY src ./src COPY docker/config.json ./src/assets/config.json RUN npm run build