Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 432 Bytes

Dockerfile.rest

File metadata and controls

15 lines (10 loc) · 432 Bytes

# package the oshinko-rest app into a container # by default this image will run the server listening on port 8080 FROM centos:latest

RUN yum -y install make golang git && yum clean all

ADD . /go/src/github.com/radanalyticsio/oshinko-cli

ENV GOPATH /go WORKDIR /go/src/github.com/radanalyticsio/oshinko-cli/rest RUN make install

RUN chmod a+rwX -R .

CMD /go/src/github.com/radanalyticsio/oshinko-cli/rest/tools/start_server.sh