rbxcompiler/Dockerfile

9 lines
344 B
Docker
Raw Permalink Normal View History

2023-03-06 03:01:17 +00:00
FROM registry.itzana.me/docker-proxy/library/golang:1.20 AS builder
WORKDIR /go/src/git.itzana.me/itzaname/rbxcompiler
COPY . ./
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o /rbxcompiler ./cmd/rbxcompiler
FROM registry.itzana.me/docker-proxy/library/alpine:3
COPY --from=builder /rbxcompiler /
2021-12-31 22:59:29 +00:00
WORKDIR /stage
2021-12-31 21:53:42 +00:00
ENTRYPOINT ["/rbxcompiler"]