feat: update Caddy config, add cache, improve response handling and logging
This commit is contained in:
parent
ef2f477fcd
commit
18828ca720
6 changed files with 162 additions and 96 deletions
10
proxy/Dockerfile
Normal file
10
proxy/Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM golang:1.23-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/go/pkg/mod go build
|
||||
|
||||
FROM alpine AS runner
|
||||
WORKDIR /app
|
||||
COPY --from=builder /build/proxy .
|
||||
EXPOSE 80/tcp
|
||||
CMD ./proxy
|
||||
Loading…
Add table
Add a link
Reference in a new issue