repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: remove unneeded intermediate variable in id tags cache code
[e-mobility-charging-stations-simulator.git]
/
docker
/
Dockerfile
diff --git
a/docker/Dockerfile
b/docker/Dockerfile
index 30e6df2a7f9228aadf854fda78026b9f87637d54..588856889f3d992f7986d71219fdaaee8bdefe19 100644
(file)
--- a/
docker/Dockerfile
+++ b/
docker/Dockerfile
@@
-2,10
+2,10
@@
FROM node:lts-alpine as builder
# Build simulator
WORKDIR /usr/builder
# Build simulator
WORKDIR /usr/builder
-COPY .npmrc package.json pnpm-lock.yaml tsconfig.json rollup.config.mjs
prepare.cjs build-requirements.m
js ./
+COPY .npmrc package.json pnpm-lock.yaml tsconfig.json rollup.config.mjs
build-requirements.mjs skip-preinstall.cjs prepare.c
js ./
COPY src ./src
COPY docker/config.json ./src/assets/config.json
COPY src ./src
COPY docker/config.json ./src/assets/config.json
-COPY docker/
authorization-tags.json ./src/assets/authorization-
tags.json
+COPY docker/
idtags.json ./src/assets/id
tags.json
RUN set -ex \
&& apk add --no-cache --virtual .gyp build-base python3 \
&& corepack enable \
RUN set -ex \
&& apk add --no-cache --virtual .gyp build-base python3 \
&& corepack enable \
@@
-19,11
+19,11
@@
RUN set -ex \
WORKDIR /usr/builder/webui
COPY ui/web ./
RUN set -ex \
WORKDIR /usr/builder/webui
COPY ui/web ./
RUN set -ex \
- &&
npm set progress=fals
e \
- &&
npm config set depth 0
\
- &&
npm cache clean --force
\
- &&
npm clean-
install \
- && npm run build
+ &&
corepack enabl
e \
+ &&
pnpm set progress=false
\
+ &&
pnpm config set depth 0
\
+ &&
pnpm
install \
+ &&
p
npm run build
FROM node:lts-alpine
FROM node:lts-alpine