Skip to content

Commit

Permalink
fix: Caddy upgrade for security warnings (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Sep 1, 2023
1 parent 5e0471d commit 6ba1a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions public/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
ARG build_dir=public
ARG port=4300


# Build container
FROM node:18.16.1-alpine3.17 AS build

Expand All @@ -17,7 +16,7 @@ RUN cd libs && npm ci && cd .. && \


# Deploy container
FROM caddy:2.4.6-alpine
FROM caddy:2.6.4-alpine

# Copy over Caddyfile and static content
ARG build_dir
Expand Down
3 changes: 3 additions & 0 deletions public/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ objects:
spec:
containers:
- image: ${NAME}-${ZONE}-${COMPONENT}:${ZONE}-${COMPONENT}
securityContext:
capabilities:
add: ["NET_BIND_SERVICE"]
imagePullPolicy: Always
name: ${NAME}
env:
Expand Down

0 comments on commit 6ba1a66

Please sign in to comment.