Skip to content

Commit

Permalink
fix(deployment): update deployment steps
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Mar 2, 2020
1 parent 10b2cd2 commit 7527eb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/cosmic-swingset/Dockerfile
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
become: yes
become_user: "{{ service }}"
shell:
cmd: "ag-solo init controller"
creates: controller
cmd: "rm -rf controller && ag-solo init controller"
creates: controller/ag-cosmos-helper-address
chdir: "/home/{{ service }}"

- name: "Reset {{ service }}"
Expand Down

0 comments on commit 7527eb0

Please sign in to comment.