Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Former-commit-id: 3e5fdce
  • Loading branch information
shiblon committed Mar 24, 2020
2 parents 335b098 + c092a39 commit 0bbefce
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM golang:1.14-buster as builder

WORKDIR /go

ENV GOPATH ""

COPY . ./
RUN cd cmd/analyticproxy && go build; cd -; \
cd cmd/medifor && go build; cd -

FROM ubuntu:18.04

ENV PATH ${PATH}:/app/bin
RUN mkdir -p /app/bin

COPY --from=builder /go/cmd/analyticproxy/analyticproxy /app/bin/
COPY --from=builder /go/cmd/medifor/medifor /app/bin/

EXPOSE 50051

CMD ["analyticproxy", "--help"]
1 change: 1 addition & 0 deletions cmd/analyticproxy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
analyticproxy
1 change: 0 additions & 1 deletion cmd/analyticproxy/analyticproxy.REMOVED.git-id

This file was deleted.

1 change: 1 addition & 0 deletions cmd/medifor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
medifor

0 comments on commit 0bbefce

Please sign in to comment.