Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
scoiatael committed Mar 7, 2017
1 parent 1b709d6 commit da86271
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:1.8
ENV HOME /opt/app
ENV GOPATH $HOME
ENV PATH $GOPATH/bin:$PATH
RUN go get github.com/tools/godep
RUN mkdir -p $HOME/src/github.com/scoiatael/
COPY . $HOME/src/github.com/scoiatael/archai

WORKDIR $HOME/src/github.com/scoiatael/archai
RUN godep restore
RUN go install github.com/scoiatael/archai
EXPOSE 8080
ENTRYPOINT ["archai"]

0 comments on commit da86271

Please sign in to comment.