mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-03 14:33:06 +00:00
* 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
20 lines
473 B
Docker
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"] |