mirror of
https://github.com/placeholder-soft/web.git
synced 2026-04-29 11:25:28 +08:00
Target arm64 architecture for web (#967)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user