Copy next.config.js to Docker images
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user