Skip to content

Commit

Permalink
Oops, wrong file
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Nov 29, 2023
1 parent d4ded85 commit 2751593
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ RUN pnpm run build

FROM docker.io/library/caddy:2.7.5-alpine

# remove capabilities to make it work on OpenShift
RUN setcap cap_net_bind_service=-ep /usr/bin/caddy

COPY ./Caddyfile /etc/caddy/Caddyfile
COPY --from=build /app/dist /app/dist

Expand Down
4 changes: 4 additions & 0 deletions dist.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Build on-the-metal, deploy using Docker

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 ./dist /app/dist

Expand Down

0 comments on commit 2751593

Please sign in to comment.