diff --git a/apps/contract-migration/docker/Dockerfile b/apps/contract-migration/docker/Dockerfile index 19ba1c13..a15ac1c8 100644 --- a/apps/contract-migration/docker/Dockerfile +++ b/apps/contract-migration/docker/Dockerfile @@ -51,19 +51,13 @@ ENV PATH $NVM_DIR/versions/node//v$NODE_VERSION/bin:$PATH # WORKDIR /home/grassroots # USER grassroots +COPY contract-migration/requirements.txt . + ARG pip_extra_args="" ARG pip_index_url=https://pypi.org/simple ARG pip_extra_index_url=https://pip.grassrootseconomics.net:8433 -ARG cic_base_version=0.1.2b11 -ARG cic_eth_version=0.11.0b14 -ARG sarafu_token_version=0.0.1a8 -ARG sarafu_faucet_version=0.0.3a3 -RUN pip install --index-url https://pypi.org/simple --extra-index-url $pip_extra_index_url \ - cic-base[full_graph]==$cic_base_version \ - cic-eth==$cic_eth_version \ - sarafu-faucet==$sarafu_faucet_version \ - sarafu-token==$sarafu_token_version \ - cic-eth==$cic_eth_version +RUN pip install --index-url https://pypi.org/simple \ + --extra-index-url $pip_extra_index_url -r requirements.txt # -------------- begin runtime container ---------------- FROM python:3.8.6-slim-buster as runtime-image diff --git a/apps/contract-migration/requirements.txt b/apps/contract-migration/requirements.txt new file mode 100644 index 00000000..291ced7a --- /dev/null +++ b/apps/contract-migration/requirements.txt @@ -0,0 +1,4 @@ + cic-base[full_graph]==0.1.2b15 + sarafu-faucet==0.0.3a3 + sarafu-token==0.0.1a8 + cic-eth==0.11.0b16