diff --git a/Dockerfile b/Dockerfile index e9d6f68..30f754a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,10 @@ COPY . . RUN pnpm run build FROM docker.io/library/caddy:2.7.5-alpine + +# remove capabilities to make it work on OpenShift +RUN setcap -r /usr/bin/caddy + COPY ./Caddyfile /etc/caddy/Caddyfile COPY --from=build /app/dist /app/dist