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!

commented out node_modules

Blue Mousedd33a10851da
diff --git a/Dockerfile b/Dockerfile
index b75a6d312..996e9ff97 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 4de362bf0..4b71a37f1 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