File tree 3 files changed +3
-12
lines changed
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,7 @@ RUN \
114
114
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
115
115
116
116
# # Production image, copy all the files and run next
117
- FROM scratch
118
-
119
- # Copy all the files from app, set the correct permission for prerender cache
120
- COPY --from=app / /
117
+ FROM app
121
118
122
119
ENV NODE_ENV="production" \
123
120
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
Original file line number Diff line number Diff line change @@ -138,10 +138,7 @@ RUN \
138
138
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
139
139
140
140
## Production image, copy all the files and run next
141
- FROM scratch
142
-
143
- # Copy all the files from app, set the correct permission for prerender cache
144
- COPY --from=app / /
141
+ FROM app
145
142
146
143
ENV NODE_ENV="production" \
147
144
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
Original file line number Diff line number Diff line change @@ -115,10 +115,7 @@ RUN \
115
115
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
116
116
117
117
## Production image, copy all the files and run next
118
- FROM scratch
119
-
120
- # Copy all the files from app, set the correct permission for prerender cache
121
- COPY --from=app / /
118
+ FROM app
122
119
123
120
ENV NODE_ENV="production" \
124
121
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
You can’t perform that action at this time.
0 commit comments