mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
24 lines
550 B
Docker
24 lines
550 B
Docker
# Base image without redundant platform flag
|
|
FROM 967763122477.dkr.ecr.eu-central-1.amazonaws.com/limechain/geth AS devnet
|
|
|
|
RUN apk add --no-cache nodejs npm curl jq
|
|
|
|
WORKDIR /app
|
|
|
|
COPY hardhat/ ./hardhat/
|
|
|
|
COPY genesis.json /app/genesis.json
|
|
|
|
WORKDIR /app/hardhat
|
|
RUN npm install
|
|
|
|
# Create startup script
|
|
COPY scripts/start-with-deploy.sh /usr/local/bin/start-with-deploy.sh
|
|
RUN chmod +x /usr/local/bin/start-with-deploy.sh
|
|
|
|
# Set entry point
|
|
ENTRYPOINT ["/usr/local/bin/start-with-deploy.sh"]
|
|
|
|
# Expose necessary ports
|
|
EXPOSE 8545 8546 8547 30303
|
|
|