certificate-api/Dockerfile

13 lines
177 B
Docker
Raw Normal View History

2020-12-22 18:29:18 -05:00
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"]