|
@@ -27,8 +27,8 @@ CMD ["--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
|
|
|
HEALTHCHECK CMD curl -f http://localhost:2019/metrics || exit 1
|
|
|
|
|
|
# See https://caddyserver.com/docs/conventions#file-locations for details
|
|
|
-ENV XDG_CONFIG_HOME /config
|
|
|
-ENV XDG_DATA_HOME /data
|
|
|
+ENV XDG_CONFIG_HOME=/config
|
|
|
+ENV XDG_DATA_HOME=/data
|
|
|
|
|
|
EXPOSE 80
|
|
|
EXPOSE 443
|
|
@@ -50,7 +50,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
|
|
COPY --from=golang-base /usr/local/go /usr/local/go
|
|
|
|
|
|
-ENV PATH /usr/local/go/bin:$PATH
|
|
|
+ENV PATH=/usr/local/go/bin:$PATH
|
|
|
|
|
|
# This is required to link the FrankenPHP binary to the PHP binary
|
|
|
RUN apt-get update && \
|