fix sitemap build
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user