Skip to content

Commit

Permalink
fix: get version from env instead
Browse files Browse the repository at this point in the history
  • Loading branch information
KorewaLidesu authored Mar 25, 2024
1 parent 2319871 commit db5cc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN xcaddy build \
--with github.com/greenpau/caddy-security \
--with github.com/caddy-dns/cloudflare

FROM caddy:${CADDY_VERSION:-latest}-alpine
FROM caddy:${CADDY_VERSION}alpine

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

Expand Down

0 comments on commit db5cc06

Please sign in to comment.