The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/tools/keymaster/Dockerfile

16 lines
399 B

FROM python:3.7-stretch
WORKDIR /code
# Allows docker to cache installed dependencies between builds
COPY ./requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY keymaster.py keymaster.py
COPY __init__.py __init__.py
COPY config.py config.py
COPY utils.py utils.py
RUN adduser --disabled-password --gecos '' unpriv
RUN chown -R unpriv: /code
CMD python3 keymaster.py monitor