From: Jérôme Benoit Date: Mon, 18 Apr 2022 19:55:07 +0000 (+0200) Subject: Fix docker build X-Git-Tag: v1.1.59~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6bb1d6bf2f2b5a65cb1c5f08209cff9be358a70d;p=e-mobility-charging-stations-simulator.git Fix docker build Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index b27a6ebb..544bc00f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,7 +5,11 @@ WORKDIR /usr/builder 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 +RUN apk add --no-cache --virtual .gyp \ + build-base \ + python3 \ + && npm install \ + && apk del .gyp COPY tsconfig.json rollup.config.js ./ COPY src ./src COPY docker/config.json ./src/assets/config.json