Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

return node modules

Blue Mouse51ef12bef3cb
diff --git a/Dockerfile b/Dockerfile
index 996e9ff97..b75a6d312 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ RUN apk add --no-cache tzdata && cp /usr/share/zoneinfo/$TZ /etc/localtime
WORKDIR /app
COPY --from=build /build/package*.json ./
COPY --from=build /build/dist/ ./dist/
-# COPY --from=build /build/node_modules/ ./node_modules/
+COPY --from=build /build/node_modules/ ./node_modules/
CMD [ "npm", "run", "start:prod" ]
EXPOSE 5005
HEALTHCHECK CMD wget -nv -t1 --spider 'http://localhost:5005/ping' || exit 1
\ No newline at end of file
diff --git a/Dockerfile.prod b/Dockerfile.prod
index 4b71a37f1..4de362bf0 100644
--- a/Dockerfile.prod
+++ b/Dockerfile.prod
@@ -52,7 +52,7 @@ RUN apk add --no-cache tzdata && cp /usr/share/zoneinfo/$TZ /etc/localtime
WORKDIR /app
COPY --from=build /build/package*.json ./
COPY --from=build /build/dist/ ./dist/
-# COPY --from=build /build/node_modules/ ./node_modules/
+COPY --from=build /build/node_modules/ ./node_modules/
CMD [ "npm", "run", "start:prod" ]
EXPOSE 5005
HEALTHCHECK CMD wget -nv -t1 --spider 'http://localhost:5005/ping' || exit 1
\ No newline at end of file