embedded frontend to docker image
This commit is contained in:
@@ -17,5 +17,9 @@ RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
|
||||
go build -ldflags "-s -w" -o MiauInv .
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /app/MiauInv /MiauInv
|
||||
|
||||
COPY --from=builder /app/frontend /frontend
|
||||
|
||||
ENTRYPOINT ["/MiauInv"]
|
||||
Reference in New Issue
Block a user