Merge pull request #6165 from tsiegleauq/update-dockerfiles-for-node16

Update dockerfiles for node 16 and a12
This commit is contained in:
Sean 2021-07-16 11:54:05 +02:00 committed by GitHub
commit d4df7ebaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:14 AS nodejs FROM node:16 AS nodejs
RUN mkdir -p /build/app RUN mkdir -p /build/app
WORKDIR /build/app WORKDIR /build/app
@ -13,7 +13,7 @@ USER openslides
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm -v RUN npm -v
RUN npm ci RUN npm ci
COPY browserslist *.json ./ COPY .browserslistrc *.json ./
COPY src ./src COPY src ./src
RUN npm run build-to-dir /build/app/static RUN npm run build-to-dir /build/app/static

View File

@ -1,4 +1,4 @@
FROM node:14 FROM node:16
WORKDIR /app WORKDIR /app