Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
fix: devnet building
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwelde committed Sep 23, 2020
1 parent 817ed2f commit d3c88a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/aws-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: set sdk dependency to 'latest' & set up .npmrc to connect to github packages
run: |
echo $(jq '.dependencies."@kiltprotocol/sdk-js"="latest"' package.json) > package.json
mv -f .npmrc.github .npmrc
- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG NODE_VERSION=10
FROM node:${NODE_VERSION}-alpine as develop
ARG NODE_AUTH_TOKEN=""

WORKDIR /app

Expand All @@ -9,6 +10,8 @@ RUN yarn install

COPY . ./

RUN rm -f .npmrc

EXPOSE 3001
CMD [ "yarn", "start" ]

Expand Down

0 comments on commit d3c88a1

Please sign in to comment.