parent
b0629205c1
commit
7d96d7a52a
@ -4,9 +4,9 @@ COPY pkg/gitea/* /module/gitea-pages/pkg/gitea/
|
|||||||
COPY gitea-pages.go go.mod go.sum /module/gitea-pages/
|
COPY gitea-pages.go go.mod go.sum /module/gitea-pages/
|
||||||
|
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with gitea.djmil.dev/goland/gitea-pages \
|
--with gitea.djmil.dev/djmil/gitea-pages \
|
||||||
--replace gitea.djmil.dev/goland/gitea-pages=/module/gitea-pages \
|
--replace gitea.djmil.dev/djmil/gitea-pages=/module/gitea-pages \
|
||||||
--replace gitea.djmil.dev/goland/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea
|
--replace gitea.djmil.dev/djmil/gitea-pages/pkg/gitea=/module/gitea-pages/pkg/gitea
|
||||||
|
|
||||||
FROM caddy:2.8.4
|
FROM caddy:2.8.4
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.djmil.dev/goland/gitea-pages/pkg/gitea"
|
"gitea.djmil.dev/djmil/gitea-pages/pkg/gitea"
|
||||||
"github.com/caddyserver/caddy/v2"
|
"github.com/caddyserver/caddy/v2"
|
||||||
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
|
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
|
||||||
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
|
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user