mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Merge pull request #78 from fbartels/docker-fix
Specify output filename and set executable permissions
This commit is contained in:
commit
5b4f685392
@ -10,8 +10,8 @@ RUN go mod download
|
||||
COPY . .
|
||||
|
||||
RUN rice embed-go
|
||||
RUN CGO_ENABLED=0 go build
|
||||
|
||||
RUN CGO_ENABLED=0 go build -o boringproxy
|
||||
RUN chmod +x boringproxy
|
||||
FROM scratch
|
||||
EXPOSE 80 443
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user