1
0
Fork 0

feat: update Caddy config, add cache, improve response handling and logging

This commit is contained in:
Arthur K. 2025-01-21 14:21:40 +03:00
parent ef2f477fcd
commit 18828ca720
Signed by: wzray
GPG key ID: B97F30FDC4636357
6 changed files with 162 additions and 96 deletions

10
proxy/Dockerfile Normal file
View 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