gitea-pages/Dockerfile

17 lines
498 B
Docker
Raw Normal View History

2024-06-23 13:55:53 +02:00
FROM caddy:2.8.4-builder-alpine AS builder
COPY pkg/gitea/* /module/gitea-pages/pkg/gitea/
COPY gitea-pages.go go.mod go.sum /module/gitea-pages/
2022-11-02 01:08:01 +01:00
RUN xcaddy build \
2024-06-23 13:55:53 +02:00
--with gitea.djmil.dev/goland/gitea-pages \
--replace gitea.djmil.dev/goland/gitea-pages=/module/gitea-pages \
--replace gitea.djmil.dev/goland/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea
2022-11-02 01:08:01 +01:00
2024-06-23 13:55:53 +02:00
FROM caddy:2.8.4
2022-11-02 01:08:01 +01:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
2024-06-23 13:55:53 +02:00
COPY Caddyfile /etc/caddy/Caddyfile
EXPOSE 3003/tcp