chore: Fix Dockerfile to Node v18 to prevent build issues

See https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1761
This commit is contained in:
Joachim Van Herwegen 2023-11-02 09:52:50 +01:00
parent cd1daaecc1
commit 9cc4a9ce4d

View File

@ -1,5 +1,5 @@
# Build stage
FROM node:lts-alpine AS build
FROM node:18-alpine AS build
# Set current working directory
WORKDIR /community-server
@ -13,7 +13,7 @@ RUN npm ci --unsafe-perm && npm run build
# Runtime stage
FROM node:lts-alpine
FROM node:18-alpine
# Add contact informations for questions about the container
LABEL maintainer="Solid Community Server Docker Image Maintainer <thomas.dupont@ugent.be>"