Skip to content

Commit

Permalink
fix docker image to worj caddy 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
alancolant committed May 3, 2024
1 parent adcc2c7 commit 89e24b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM caddy:builder-alpine AS builder
FROM caddy:2.8-builder-alpine AS builder

RUN apk add --update --no-cache make vips-dev gcc musl-dev

ADD . .
RUN make build

# FINAL IMAGE
FROM caddy:alpine
FROM caddy:2.8-alpine
RUN apk add --update --no-cache vips

COPY --from=builder /usr/bin/out/caddy /usr/bin/caddy

0 comments on commit 89e24b4

Please sign in to comment.