Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix docker build + FE test (#4933)

RobertJoonas281f3ecdd724
diff --git a/Dockerfile b/Dockerfile
index f3a62a570e..ec88934621 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,8 +20,7 @@ RUN mkdir /app
WORKDIR /app
# install build dependencies
-RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg make gcc libc-dev brotli && \
- npm install npm@latest -g
+RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg make gcc libc-dev brotli
COPY mix.exs ./
COPY mix.lock ./
diff --git a/assets/js/dashboard/query-dates.test.tsx b/assets/js/dashboard/query-dates.test.tsx
index c83d41e263..69ff78fdf7 100644
--- a/assets/js/dashboard/query-dates.test.tsx
+++ b/assets/js/dashboard/query-dates.test.tsx
@@ -96,7 +96,7 @@ test.each([
test.each([
[
{ period: 'custom', from: '2024-08-10', to: '2024-08-20' },
- '10 Aug - 20 Aug'
+ '10 Aug - 20 Aug 24'
],
[{ period: 'realtime' }, 'Realtime']
])(