We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23afd2 commit 3a4c35dCopy full SHA for 3a4c35d
1 file changed
Dockerfile
@@ -237,9 +237,10 @@ COPY --from=builder --chown=default:root /app/apps/${PROJECT}/public ./apps/${PR
237
COPY --from=builder --chown=default:root /app/next.base.config.mjs .
238
RUN cp -r /app/apps/${PROJECT}/.next/ /app/.next_orig/
239
240
-# OpenShift write access to Next cache folder
+# OpenShift write access to Next cache folder and runtime env-config.js
241
USER root
242
-RUN chgrp -R 0 /app/apps/${PROJECT}/.next/server/pages && chmod g+w -R /app/apps/${PROJECT}/.next/server/pages
+RUN chgrp -R 0 /app/apps/${PROJECT}/.next/server/pages && chmod g+w -R /app/apps/${PROJECT}/.next/server/pages && \
243
+ chgrp -R 0 /app/apps/${PROJECT}/public && chmod g+w -R /app/apps/${PROJECT}/public
244
USER default
245
246
ENV NEXT_TELEMETRY_DISABLED 1
0 commit comments