diff --git a/Dockerfile b/Dockerfile index 3d0da5a..fb33976 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM node:16.7.0 AS dependencies +FROM node:16.8.0 AS dependencies WORKDIR /usr/src/app COPY ./package*.json ./ RUN npm clean-install -FROM node:16.7.0 AS builder +FROM node:16.8.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.7.0 AS runner +FROM node:16.8.0 AS runner WORKDIR /usr/src/app ENV NODE_ENV=production COPY --from=builder /usr/src/app/next.config.js ./next.config.js