From 33f2111f1859ec1e5d61843c16b66885e8a2af17 Mon Sep 17 00:00:00 2001
From: Dorian Koch <doriank@fsmpi.rwth-aachen.de>
Date: Wed, 7 May 2025 20:19:10 +0200
Subject: [PATCH] Fix some warnings

---
 Dockerfile     | 5 +++--
 next.config.js | 3 ++-
 package.json   | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 2b274b8..31f3d5d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,8 @@
-FROM node:22 as build
+FROM node:lts-slim AS build
 
 WORKDIR /app
 
+RUN apt update && apt install -y python3 git
 COPY package*.json .
 RUN npm install
 
@@ -28,4 +29,4 @@ RUN rm -f /etc/nginx/nginx.conf
 # test validity of nginx configuration
 #RUN nginx -t
 
-ENTRYPOINT nginx -c $FRONTEND_NGINX_CONFIG
+ENTRYPOINT ["nginx", "-c", "$FRONTEND_NGINX_CONFIG"]
diff --git a/next.config.js b/next.config.js
index 8c4eb2c..ad9877e 100644
--- a/next.config.js
+++ b/next.config.js
@@ -27,7 +27,8 @@ const nextConfig = {
       },
     ];
   },
-
+  turbopack: {
+  },
 }
 
 module.exports = withBundleAnalyzer(nextConfig)
diff --git a/package.json b/package.json
index abf4d81..2ebe6c5 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "private": true,
   "license": "MIT",
   "scripts": {
-    "dev": "node test-version && npm run prebuild && next dev",
+    "dev": "node test-version && npm run prebuild && next dev --turbopack",
     "prebuild": "node test-version && mkdir -p ./public/static/lang && python3 language_parser.py -f -s ./lang/ -d ./public/static/lang/ && license-checker --json --relativeLicensePath --excludePrivatePackages --out ./src/data/licenses.json",
     "build": "node test-version && NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse HEAD) next build",
     "start": "node test-version && npm run prebuild && next start",
-- 
GitLab