Skip to content

Commit

Permalink
Fix capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Nov 29, 2023
1 parent dc19972 commit a3df247
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a3df247

Please sign in to comment.