Skip to content

Commit

Permalink
Merged the ENV commands. Removed the movielens data and demo referencs.
Browse files Browse the repository at this point in the history
  • Loading branch information
habiba-h committed Jun 27, 2019
1 parent 806f960 commit be02488
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions docker/stellargraph-treon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,18 @@ RUN apt-get update \
&& tar --no-same-owner -xf cora.tgz \
&& curl -sLO "https://linqs-data.soe.ucsc.edu/public/Pubmed-Diabetes.tgz" \
&& tar --no-same-owner -xf Pubmed-Diabetes.tgz \
# && curl -sLO "http://files.grouplens.org/datasets/movielens/ml-100k.zip" \
# && unzip ml-100k.zip \
&& curl -sLO "http://socialcomputing.asu.edu/uploads/1283153973/BlogCatalog-dataset.zip" \
&& unzip BlogCatalog-dataset.zip

# hadolint ignore=DL3006
FROM stellargraph/stellargraph

ENV JUPYTER_VERSION="1.0.0" \
PATH=${PATH}:/home/stellar/.local/bin

ENV TREON_VERSION="0.1.2" \
PATH=${PATH}:/home/stellar/.local/bin

ENV SEABORN_VERSION="0.9.0" \
PATH=${PATH}:/home/stellar/.local/bin
ENV PATH=${PATH}:/home/stellar/.local/bin \
JUPYTER_VERSION="1.0.0" \
TREON_VERSION="0.1.2" \
SEABORN_VERSION="0.9.0"


# keep pip up to date for the end user
# hadolint ignore=DL3013
RUN pip install --upgrade pip --user \
Expand All @@ -37,7 +32,6 @@ COPY --chown=stellar ./demos /home/stellar/demos
COPY --chown=stellar ./scripts/ /home/stellar/scripts
COPY --chown=stellar --from=base /data/cora /home/stellar/data/cora
COPY --chown=stellar --from=base /data/Pubmed-Diabetes /home/stellar/data/pubmed/Pubmed-Diabetes
#COPY --chown=stellar --from=base /data/ml-100k /home/stellar/data/ml-100k
COPY --chown=stellar --from=base /data/BlogCatalog-dataset /home/stellar/data/BlogCatalog-dataset

CMD ["sh", "-c", "python /home/stellar/scripts/test_demos.py"]

0 comments on commit be02488

Please sign in to comment.