diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dfe7f30 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM golang:latest + +WORKDIR /usr/src/certificateapi + +COPY . . + +ENV GIN_MODE=release + +RUN make +RUN cp build/certificateapi /usr/local/bin/certapi + +CMD ["/usr/local/bin/certapi"]