File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ RUN update-ca-certificates 2>/dev/null || true
155
155
RUN addgroup --system nonroot && adduser --system --ingroup nonroot nonroot
156
156
RUN chown -R nonroot:nonroot /app
157
157
158
- COPY --from=builder --chown=nonroot:nonroot /app/public ./public
158
+ COPY --from=builder --chown=nonroot:nonroot /app/public* ./public
159
159
160
160
# Set the correct permission for prerender cache
161
161
RUN mkdir .next
@@ -215,7 +215,7 @@ RUN addgroup --system nonroot && adduser --system --ingroup nonroot nonroot
215
215
RUN chown -R nonroot:nonroot /app
216
216
217
217
COPY --from=builder --chown=nonroot:nonroot /app/next.config.* ./
218
- COPY --from=builder --chown=nonroot:nonroot /app/public ./public
218
+ COPY --from=builder --chown=nonroot:nonroot /app/public* ./public
219
219
COPY --from=builder --chown=nonroot:nonroot /app/.next ./.next
220
220
COPY --from=builder --chown=nonroot:nonroot /app/node_modules ./node_modules
221
221
You can’t perform that action at this time.
0 commit comments