Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjais committed Jan 29, 2020
1 parent f76b940 commit 5d6af88
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1-alpine as builder
WORKDIR /app
ADD . .
RUN go build .

FROM alpine
COPY --from=builder /app/ran /ran
WORKDIR /web
EXPOSE 8080
VOLUME /web
ENTRYPOINT [ "/ran" ]

0 comments on commit 5d6af88

Please sign in to comment.