We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38919d4 commit 1637fc0Copy full SHA for 1637fc0
1 file changed
docker/Dockerfile
@@ -5,7 +5,11 @@ FROM node:24-alpine AS build
5
WORKDIR /app
6
COPY . ./
7
8
-RUN npm ci && npm run check && npm run build && npm prune --omit=dev
+RUN \
9
+ npm ci && \
10
+ npm run check && \
11
+ npm run build && \
12
+ npm prune --omit=dev
13
14
# ---------- Runtime stage ----------
15
FROM node:24-alpine
@@ -23,7 +27,9 @@ COPY --from=build /app/packages ./packages
23
27
COPY testdata/1_bundeslaender.geojson testdata/3_kreise.geojson ./data/
24
28
25
29
# kill npm cache + root npm dir in the final stage
26
-RUN npm cache clean --force && rm -rf /root/.npm
30
31
+ npm cache clean --force && \
32
+ rm -rf /root/.npm
33
34
EXPOSE 8080
35
ENV NODE_ENV=production
0 commit comments