diff --git a/docker/Dockerfile b/docker/Dockerfile index e35c083..e271fe1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,4 +12,9 @@ RUN npm run build # production stage FROM ${runtime_image} as production-stage -COPY --from=build-stage /app/dist /srv \ No newline at end of file +COPY --from=build-stage /app/dist /srv + +# Fix permissions issue with Caddy image +# - Between version 2.6.2 and 2.6.3 there were some permissions changes on the official images that stopped them from working on OpenShift. +# - This update resolves that permissions issue for OCP. +RUN chown 1001:root /usr/bin/caddy \ No newline at end of file