This commit is contained in:
@@ -23,7 +23,7 @@ RUN apk add --no-cache ca-certificates mailcap \
|
|||||||
|
|
||||||
# 添加 Caddy
|
# 添加 Caddy
|
||||||
COPY --from=base /usr/bin/caddy /usr/bin/caddy
|
COPY --from=base /usr/bin/caddy /usr/bin/caddy
|
||||||
COPY caddy/7.4/Caddyfile /etc/caddy/
|
COPY caddy/Caddyfile /etc/caddy/
|
||||||
COPY --from=base /usr/share/caddy /usr/share/caddy
|
COPY --from=base /usr/share/caddy /usr/share/caddy
|
||||||
COPY --from=base /etc/nsswitch.conf /etc/nsswitch.conf
|
COPY --from=base /etc/nsswitch.conf /etc/nsswitch.conf
|
||||||
|
|
||||||
@@ -35,5 +35,5 @@ ENV XDG_DATA_HOME /data
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# 入口
|
# 入口
|
||||||
COPY startup .
|
COPY caddy/startup .
|
||||||
ENTRYPOINT ./startup
|
ENTRYPOINT ./startup
|
||||||
Reference in New Issue
Block a user