This commit is contained in:
2024-12-18 10:47:18 +08:00
parent 561db9f840
commit 266f9f565b
6 changed files with 65 additions and 2 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM golang:1.23-alpine
ADD . /src
WORKDIR /src
RUN go build -o /cache-proxy ./cmd/proxy
FROM alpine:3.21 as runtime
COPY --from=0 /cache-proxy /bin/cache-proxy
WORKDIR /etc/
VOLUME /data
CMD cache-proxy