Skip to content

Commit

Permalink
add docker support
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhaoxx committed Mar 27, 2024
1 parent 654c54f commit e25c7b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:alpine AS build

RUN apk add build-base bash git coreutils

COPY . /go/src/github.com/mrhaoxx/OpenNG

RUN cd /go/src/github.com/mrhaoxx/OpenNG && ./build.sh -o /NetGATE

FROM alpine:latest AS runtime

COPY --from=build /NetGATE /NetGATE

ENTRYPOINT ["/NetGATE"]

0 comments on commit e25c7b5

Please sign in to comment.