chore: move to go folder

This commit is contained in:
Nicolas Meienberger
2025-08-20 22:15:43 +02:00
parent 83b4296cfc
commit a0be690eb9
21 changed files with 0 additions and 0 deletions

View File

@@ -1,20 +0,0 @@
FROM golang:1.24-alpine3.21 AS builder
WORKDIR /ironmount
COPY go.mod ./
RUN go mod download
COPY . .
ARG TARGETOS=linux
ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
go build -o /out/ironmount .
FROM alpine:3.22 AS runner
WORKDIR /
COPY --from=builder /out/ironmount /ironmount
ENTRYPOINT ["/ironmount"]