fix sitemap build

This commit is contained in:
Aarni Halinen
2021-03-28 21:38:52 +03:00
parent 42250ecb69
commit 13dd1a72ea
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ FROM node:14-alpine as builder
COPY package.json package-lock.json ./
RUN npm install
COPY tsconfig.json next-env.d.ts .babelrc next.config.js ./
COPY tsconfig.json next-env.d.ts .babelrc next.config.js next-sitemap.js ./
COPY src src/
COPY public public/
COPY types types/
@@ -15,7 +15,7 @@ RUN npm run build
FROM node:14-alpine as server
WORKDIR /www
COPY package.json package-lock.json next.config.js ./
COPY package.json package-lock.json next.config.js next-sitemap.js ./
COPY --from=builder .next .next
COPY --from=builder node_modules node_modules
COPY --from=builder public public
+2 -2
View File
@@ -3,7 +3,7 @@ FROM node:14-alpine as builder
COPY package.json package-lock.json ./
RUN npm install
COPY tsconfig.json next-env.d.ts .babelrc next.config.js ./
COPY tsconfig.json next-env.d.ts .babelrc next.config.js next-sitemap.js ./
COPY src src/
COPY public public/
COPY types types/
@@ -15,7 +15,7 @@ RUN npm run build
FROM node:14-alpine as server
WORKDIR /www
COPY package.json package-lock.json next.config.js ./
COPY package.json package-lock.json next.config.js next-sitemap.js ./
COPY --from=builder .next .next
COPY --from=builder node_modules node_modules
COPY --from=builder public public