Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Jan 16, 2017
1 parent 2c5e933 commit 2d4ecf2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ FROM golang:1.7
MAINTAINER Hugo González Labrador

ADD . /go/src/github.com/clawio/clawiod
WORKDIR /go/src/github.com/clawio/clawiod
WORKDIR /go/src/github.com/clawio/clawiod/cmd/clawiod

RUN go get ./...
RUN go install
RUN mkdir /etc/clawiod/

# Create default config file
RUN cp etc/* > /etc/clawiod/

CMD /go/bin/clawiod -conf /etc/clawiod/monolithic.conf
CMD /go/bin/clawiod -conf /go/src/github.com/clawio/clawiod/etc/monolithic.conf

EXPOSE 1560

0 comments on commit 2d4ecf2

Please sign in to comment.