Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active September 17, 2022 01:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fu-sen/51f61c517bdb53f606289a7f3c582af4 to your computer and use it in GitHub Desktop.
Save fu-sen/51f61c517bdb53f606289a7f3c582af4 to your computer and use it in GitHub Desktop.
Caddy v2 (Officical Docker Image) with Google Cloud Run (Freely editable Caddyfile) https://caddy.community/t/caddy-works-with-google-cloud-run/6898
:{$PORT}
root * /srv
# Do not rewrite up to this point!
file_server
templates
FROM caddy:alpine
COPY ./ /srv/
COPY ./Caddyfile /etc/caddy/Caddyfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment