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
Remove useless empty check and init on variable.
[e-mobility-charging-stations-simulator.git]
/
docker
/
Dockerfile
diff --git
a/docker/Dockerfile
b/docker/Dockerfile
index d681e2950399916ea01b8f273c7757688bd9b2af..e47bea8b399b96570c73ee0e5b66243c229c0bac 100644
(file)
--- a/
docker/Dockerfile
+++ b/
docker/Dockerfile
@@
-1,4
+1,4
@@
-FROM node:
lts-
alpine as builder
+FROM node:alpine as builder
WORKDIR /usr/builder
WORKDIR /usr/builder
@@
-7,7
+7,7
@@
COPY package.json package-lock.json ./
RUN npm set progress=false && npm config set depth 0 && npm cache clean --force
RUN npm install
RUN npm set progress=false && npm config set depth 0 && npm cache clean --force
RUN npm install
-FROM node:
lts-
alpine
+FROM node:alpine
WORKDIR /usr/app
WORKDIR /usr/app
@@
-15,7
+15,7
@@
COPY --from=builder /usr/builder/node_modules ./node_modules
COPY NOTICE LICENSE ./
COPY src ./src
COPY *.json ./
COPY NOTICE LICENSE ./
COPY src ./src
COPY *.json ./
-COPY docker/config.json ./src/config.json
+COPY docker/config.json ./src/
assets/
config.json
COPY docker/autoconfig.sh /autoconfig.sh
RUN chmod +x /autoconfig.sh
COPY docker/autoconfig.sh /autoconfig.sh
RUN chmod +x /autoconfig.sh