Dockerization

This commit is contained in:
Nate Choe
2022-05-09 13:11:00 -05:00
parent 98067190c3
commit cda87f2ac0
3 changed files with 41 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM debian:stable-slim AS build
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y gcc make
COPY . /ncdg
WORKDIR /ncdg
RUN make
FROM debian:stable-slim AS run
COPY --from=build /ncdg/build/ncdg /usr/bin/ncdg
ENTRYPOINT [ "ncdg", "/dev/stdin" ]