Initial commit to Proxyfier

This commit is contained in:
2026-02-07 01:22:35 +03:00
commit 3f80dab132
10 changed files with 310 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM golang:1.22-alpine AS build
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/proxyfier ./main.go
FROM alpine:3.20
WORKDIR /app
COPY --from=build /out/proxyfier /usr/local/bin/proxyfier
COPY config.yaml.example /app/config.yaml.example
EXPOSE 9000
CMD ["/usr/local/bin/proxyfier"]