mkp224o/Dockerfile
marnixah 78991e6640
change cmd to entrypoint in Dockerfile
This is so that you can add args without docker assuming you're trying
to override the command
2023-06-27 14:00:30 +02:00

11 lines
318 B
Docker

FROM debian:bookworm as builder
WORKDIR /app
RUN apt-get update && apt-get install -y gcc libc6-dev libsodium-dev make autoconf
COPY . .
RUN ./autogen.sh && ./configure --enable-amd64-51-30k LDFLAGS=-static
RUN make
FROM debian:bookworm-slim
WORKDIR /app
COPY --from=builder /app/mkp224o .
ENTRYPOINT [ "./mkp224o" ]