fix: Fix frontend build bc apperantly they changed the node version
Some checks failed
CI / Get Changed Files (pull_request) Successful in 8s
Setup Gitea Tea CLI / setup-and-login (pull_request) Failing after 11s
CI / Checkstyle Main (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / Backend Tests (pull_request) Has been skipped
CI / Docker frontend validation (pull_request) Successful in 1m0s
CI / prettier (pull_request) Successful in 2m41s
CI / oxlint (pull_request) Successful in 2m43s
CI / eslint (pull_request) Successful in 2m48s
CI / test-build (pull_request) Successful in 49s

This commit is contained in:
Jan K9f 2025-06-01 10:55:11 +02:00
commit 69447d8fcf

View file

@ -1,7 +1,12 @@
FROM oven/bun:debian AS build
WORKDIR /app
RUN apt-get update -y && apt-get install nodejs -y
RUN apt-get update -y && \
apt-get install -y --no-install-recommends curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y --no-install-recommends nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENV NODE_ENV=production