Switch to node 16 and fix paths

This commit is contained in:
Thor77 2022-06-11 23:18:14 +02:00
parent 9b55af68cd
commit d4391dde50
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
### STAGE 1: Build ###
FROM node:8-alpine as build
FROM node:16-alpine as build
WORKDIR /srv
COPY js /srv/js
COPY pages /srv/pages
COPY static /srv/static
COPY next.config.js package.json package-lock.json server.js yarn.lock /srv/
COPY public /srv/public
COPY next.config.js package.json server.js yarn.lock /srv/
RUN yarn install
RUN yarn build
RUN yarn cache clean