-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deployment): update deployment steps
- Loading branch information
1 parent
10b2cd2
commit 7527eb0
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# The Golang build container. | ||
# TODO This should be split out into the cosmos-connector. | ||
FROM golang:stretch | ||
FROM golang:1.13-stretch | ||
|
||
WORKDIR /usr/src/app | ||
COPY go.mod go.sum ./ | ||
RUN go mod download | ||
|
||
COPY Makefile* *.go ./ | ||
COPY app/ app/ | ||
COPY x/ x/ | ||
COPY cmd/ cmd/ | ||
COPY lib/*.go lib/ | ||
COPY lib/daemon/ lib/daemon/ | ||
COPY lib/helper/ lib/helper/ | ||
RUN make compile-go install | ||
COPY package.json ./ | ||
RUN make MOD_READONLY= compile-go install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters