repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f61131
)
Fix docker build
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 18 Apr 2022 19:55:07 +0000
(21:55 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 18 Apr 2022 19:55:07 +0000
(21:55 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
docker/Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/docker/Dockerfile
b/docker/Dockerfile
index b27a6ebb5967ece044ee2ace2089df3e7b512080..544bc00f77016f831883f427720abd57ae37ab9d 100644
(file)
--- 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