mirror of
https://github.com/aunefyren/wrapperr
synced 2025-03-04 14:37:14 +00:00
Update Dockerfile
This commit is contained in:
parent
7d3ea26bcd
commit
c19c1325fc
1 changed files with 1 additions and 7 deletions
|
@ -11,13 +11,7 @@ WORKDIR /app
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN export GO111MODULE=on
|
||||
RUN export CGO_ENABLED=0
|
||||
RUN export GOOS=${TARGETOS}
|
||||
RUN export GOARCH=${TARGETARCH}
|
||||
|
||||
RUN go build
|
||||
# CGO_ENABLED=0
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build
|
||||
|
||||
EXPOSE ${port}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue