From 40da316708d7c45eb7f032dd9df046a29e28cc86 Mon Sep 17 00:00:00 2001 From: Nicolai Date: Tue, 17 Mar 2026 18:57:14 +0100 Subject: [PATCH] test --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a8a476..f535d91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -# syntax=docker/dockerfile:1 FROM node:20-alpine AS frontend-build WORKDIR /app/webapp/frontend COPY webapp/frontend/package.json webapp/frontend/package-lock.json ./ -RUN npm ci +# Ensure devDependencies (like Vite) are installed so the build command works +RUN npm ci --include=dev COPY webapp/frontend/ ./ RUN npm run build @@ -19,9 +19,9 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app -# RUN apt-get update \ -# && apt-get install -y --no-install-recommends libgomp1 \ -# && rm -rf /var/lib/apt/lists/* + RUN apt-get update \ + && apt-get install -y --no-install-recommends libgomp1 \ + && rm -rf /var/lib/apt/lists/* COPY pyproject.toml setup.py README.md ./ COPY src ./src