Skip to content

Commit

Permalink
Target arm64 architecture for web (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
dneilroth authored Aug 28, 2024
1 parent b7406f3 commit 5c2a8bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .codeflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ build:
- BaldurECR:
name: web
path: ./apps/web/Dockerfile
architecture: arm64
- BaldurECR:
name: docs
path: ./apps/base-docs/Dockerfile
- BaldurECR:
name: bridge
path: ./apps/bridge/Dockerfile
- BaldurECR:
name: goerli-bridge
path: ./apps/bridge/Dockerfile
- BaldurECR:
name: sepolia-bridge
path: ./apps/bridge/Dockerfile
multi_arch: true

operate:
slack_channels:
Expand Down
7 changes: 6 additions & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM 652969937640.dkr.ecr.us-east-1.amazonaws.com/containers/node:current

RUN apt-get update && apt-get install -y zip
ARG TARGETARCH
ENV TARGETARCH=${TARGETARCH:-arm64}

# Install dependencies
# python3 is required for utf-8-validate and bufferutil
RUN apt-get update && apt-get install -y gnupg wget python3 build-essential make -y

ENV NODE_ENV=production

Expand Down

0 comments on commit 5c2a8bd

Please sign in to comment.