add dockerfile
parent
b99a42ba35
commit
9898ba2fac
|
@ -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"]
|
Loading…
Reference in New Issue