fix: Fix frontend build bc apparently they changed the node version

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

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