Fix docker build
[e-mobility-charging-stations-simulator.git] / docker / Dockerfile
index b27a6ebb5967ece044ee2ace2089df3e7b512080..544bc00f77016f831883f427720abd57ae37ab9d 100644 (file)
@@ -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