add dockerfile

merge-requests/1/head
Matthew 2020-12-22 18:29:18 -05:00
parent b99a42ba35
commit 9898ba2fac
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 12 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -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"]