Skip to content

Commit

Permalink
using linked packages instead of those in npmjs (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmeister authored Mar 23, 2020
1 parent ed681d9 commit 7af88dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev-ecr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
ECR_REPOSITORY: optimism/rollup-full-node
IMAGE_TAG: latest
run: |
cd packages/rollup-full-node
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand Down
4 changes: 3 additions & 1 deletion packages/rollup-full-node/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM node:11

WORKDIR /server

COPY . /server
RUN yarn link
RUN yarn

WORKDIR /server/packages/rollup-full-node

EXPOSE 8545
CMD [ "yarn", "run", "server:fullnode" ]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- internal
- external
build:
context: packages/rollup-full-node
context: .
dockerfile: Dockerfile
ports:
- 8545:8545
Expand Down

0 comments on commit 7af88dc

Please sign in to comment.