Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using linked packages instead of those in npm #50

Merged
merged 1 commit into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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