Copy next.config.js to Docker images

This commit is contained in:
Aarni Halinen
2021-01-16 22:38:03 +02:00
parent 5fd3799e40
commit 92616f9cd4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ RUN npm run build
FROM node:14-alpine as server
WORKDIR /www
COPY package.json package-lock.json ./
COPY package.json package-lock.json next.config.js ./
COPY --from=builder .next .next
COPY --from=builder node_modules node_modules
COPY --from=builder public public
+1 -1
View File
@@ -14,7 +14,7 @@ RUN npm run build
FROM node:14-alpine as server
WORKDIR /www
COPY package.json package-lock.json ./
COPY package.json package-lock.json next.config.js ./
COPY --from=builder .next .next
COPY --from=builder node_modules node_modules
COPY --from=builder public public