diff --git a/Dockerfile b/Dockerfile index a2e0dbb..00b848e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.prod b/Dockerfile.prod index ceba872..5367289 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -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