Dockerfile 453 B

123456789101112131415161718192021
  1. FROM busybox as downloader
  2. RUN cd /tmp && wget -c https://github.com/hyperledger/cello/archive/v0.9.0.zip && \
  3. unzip v0.9.0.zip && mv cello-0.9.0 cello
  4. FROM python:3.6
  5. LABEL maintainer="github.com/hyperledger/cello"
  6. WORKDIR /app
  7. COPY install.sh /tmp/
  8. # Install necessary software
  9. RUN cd /tmp/ && \
  10. bash install.sh && \
  11. rm -f /tmp/install.sh
  12. COPY --from=downloader /tmp/cello/src /app
  13. RUN cd /app/ && \
  14. pip install -r requirements.txt