Tanya S e5bb677abe
Update contract deployment for new RLN contract (#110)
* Run deploy scripts for new incentivized contract and mint tokens per account

* Add service to manage RLN contract token minting per nwaku service

* Add token-mint-service as tool

* revert back to sh instead of bash for contract deployer script

* Add comments and code cleanup
2025-07-16 08:35:22 +02:00

20 lines
473 B
Docker

FROM python:3.11-alpine
WORKDIR /app
# Install system packages needed by the script
RUN apk add --no-cache bind-tools jq
# Install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy scripts
COPY init_node_tokens.py .
COPY get_account_key.sh .
# Make scripts executable
RUN chmod +x /app/init_node_tokens.py /app/get_account_key.sh
# Use the account key helper as entrypoint
ENTRYPOINT ["/bin/sh", "/app/get_account_key.sh"]