Skip to content
Snippets Groups Projects
Verified Commit 33f2111f authored by Dorian Koch's avatar Dorian Koch
Browse files

Fix some warnings

parent 20619c41
No related branches found
No related tags found
No related merge requests found
Pipeline #7694 passed
FROM node:22 as build FROM node:lts-slim AS build
WORKDIR /app WORKDIR /app
RUN apt update && apt install -y python3 git
COPY package*.json . COPY package*.json .
RUN npm install RUN npm install
...@@ -28,4 +29,4 @@ RUN rm -f /etc/nginx/nginx.conf ...@@ -28,4 +29,4 @@ RUN rm -f /etc/nginx/nginx.conf
# test validity of nginx configuration # test validity of nginx configuration
#RUN nginx -t #RUN nginx -t
ENTRYPOINT nginx -c $FRONTEND_NGINX_CONFIG ENTRYPOINT ["nginx", "-c", "$FRONTEND_NGINX_CONFIG"]
...@@ -27,7 +27,8 @@ const nextConfig = { ...@@ -27,7 +27,8 @@ const nextConfig = {
}, },
]; ];
}, },
turbopack: {
},
} }
module.exports = withBundleAnalyzer(nextConfig) module.exports = withBundleAnalyzer(nextConfig)
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "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", "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", "build": "node test-version && NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse HEAD) next build",
"start": "node test-version && npm run prebuild && next start", "start": "node test-version && npm run prebuild && next start",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment