Kon/Dockerfile
toast 689f44cf73
Some checks failed
Build and push Docker image / build (push) Failing after 6m49s
Build and push Docker image / deploy (push) Has been skipped
Use Alpine 3.20 image
2024-09-22 03:58:50 +10:00

11 lines
290 B
Docker

FROM scratch AS base
WORKDIR /builder
COPY . .
FROM alpine:3.20
LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Kon"
RUN apk add --no-cache libgcc fluidsynth
WORKDIR /kon
COPY --from=builder /builder/target/x86_64-unknown-linux-musl/release/kon .
CMD [ "./kon" ]