Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active January 28, 2020 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fu-sen/56bdfe9680081f26a13b4b7adf573d55 to your computer and use it in GitHub Desktop.
Save fu-sen/56bdfe9680081f26a13b4b7adf573d55 to your computer and use it in GitHub Desktop.
Caddy v2 (Officical Docker Image) with Google Cloud Run https://caddy.community/t/caddy-works-with-google-cloud-run/6898
FROM caddy/caddy:alpine
COPY ./ /usr/share/caddy/
USER root
RUN sed -i 's/:8080/:{$PORT}/' /etc/caddy/Caddyfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment