From 1605e532164b88f9d91f0ca0da1d19aed0729ae5 Mon Sep 17 00:00:00 2001 From: Blair Vanderlugt Date: Thu, 3 Jun 2021 11:43:13 -0700 Subject: [PATCH] pull the req out of the container and bump em --- apps/contract-migration/docker/Dockerfile | 14 ++++---------- apps/contract-migration/requirements.txt | 4 ++++ 2 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 apps/contract-migration/requirements.txt diff --git a/apps/contract-migration/docker/Dockerfile b/apps/contract-migration/docker/Dockerfile index 19ba1c1..a15ac1c 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 0000000..291ced7 --- /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