1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

build(deps): bump Node.js to 16.0.0 and npm to 8.0.0

BREAKING CHANGE: minimum supported Node.js >= 16.0.0 and npm >= 8.0.0

fixes #74
This commit is contained in:
Divlo
2021-11-06 17:52:04 +01:00
parent a30355582e
commit 1505b81233
18 changed files with 1769 additions and 1791 deletions

View File

@@ -1,15 +1,15 @@
FROM node:16.12.0 AS dependencies
FROM node:16.13.0 AS dependencies
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm clean-install
FROM node:16.12.0 AS builder
FROM node:16.13.0 AS builder
WORKDIR /usr/src/app
COPY ./ ./
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
RUN npm run build
FROM node:16.12.0 AS runner
FROM node:16.13.0 AS runner
WORKDIR /usr/src/app
ENV NODE_ENV=production
COPY --from=builder /usr/src/app/next.config.js ./next.config.js