Skip to content

Commit

Permalink
chore: fixed docker dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 4, 2023
1 parent 9704296 commit 97672c2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
13 changes: 7 additions & 6 deletions build_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,21 @@
"dependencies": []
},
"l1-artifacts": {
"buildDir": "l1-artifacts",
"dockerfile": "Dockerfile",
"buildDir": "yarn-project",
"projectDir": "yarn-project/l1-artifacts",
"dockerfile": "l1-artifacts/Dockerfile",
"rebuildPatterns": [
"^l1-artifacts/"
"^l1-contracts/",
"^yarn-project/l1-artifacts/"
],
"dependencies": [
"foundation"
]
"dependencies": []
},
"yarn-project-base": {
"buildDir": "yarn-project",
"dockerfile": "yarn-project-base/Dockerfile",
"rebuildPatterns": [
"^circuits/",
"^l1-contracts/",
"^yarn-project/yarn-project-base/",
"^yarn-project/yarn.lock"
],
Expand Down
14 changes: 14 additions & 0 deletions yarn-project/l1-artifacts/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project-base AS builder
COPY . .

WORKDIR /usr/src/yarn-project/l1-artifacts
RUN yarn build

# Prune dev dependencies. See comment in base image.
RUN yarn cache clean
RUN yarn workspaces focus --production > /dev/null

FROM node:18-alpine
COPY --from=builder /usr/src/yarn-project/l1-artifacts /usr/src/yarn-project/l1-artifacts
WORKDIR /usr/src/yarn-project/l1-artifacts
ENTRYPOINT ["yarn"]
1 change: 0 additions & 1 deletion yarn-project/l1-artifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"generate": "bash scripts/generate-artifacts.sh && yarn formatting:fix"
},
"dependencies": {
"@aztec/foundation": "workspace:^",
"tslib": "^2.4.0"
},
"devDependencies": {
Expand Down

0 comments on commit 97672c2

Please sign in to comment.