redir/Dockerfile
Rasmus Moorats 6cf24a0b85
Some checks failed
build / build (push) Failing after 10s
use akito13 nim image
2023-10-21 17:06:33 +03:00

11 lines
207 B
Docker

FROM docker.io/akito13/nim:2.0.0-alpine AS buildbase
WORKDIR /usr/src/app/
COPY . /usr/src/app/
RUN nimble -y build
FROM scratch
COPY --from=buildbase /usr/src/app/bin/redir /redir
ENTRYPOINT ["/redir"]