Bumped npm build config issues

This commit is contained in:
Frikky
2025-01-23 18:12:36 +01:00
parent d1d4ffaf01
commit 1de5b5b9a0
3 changed files with 13 additions and 9 deletions
+4 -3
View File
@@ -7,10 +7,11 @@ COPY orborus.go /app/orborus.go
COPY go.mod /app/go.mod
RUN go get
RUN go build -v
#RUN go mod tidy
RUN go build
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
# Enabled CGO January 2025
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o orborus.
#RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
FROM alpine:3.15.0
RUN apk add --no-cache bash tzdata