This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM golang:1-alpine3.21 as build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN go build -o /proxy .
|
||||
|
||||
FROM alpine:3.21
|
||||
COPY --from=build /proxy /proxy
|
||||
ENTRYPOINT [ "/proxy" ]
|
||||
Reference in New Issue
Block a user