[24.02.20] Revert : Instead of copying do git clone

This commit is contained in:
andrewso 2020-02-24 12:01:36 +00:00
parent 41742a0363
commit 27a4378a96
2 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,9 @@
FROM python:3.7-alpine FROM python:3.7-alpine
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com> MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
RUN apk update && \ RUN apk update && \
apk add py-pip libc-dev gcc git apk add py-pip libc-dev gcc
RUN pip install utils pycryptodome && \ RUN pip install utils pycryptodome && \
pip install python-env coinbase pip install python-env coinbase
RUN git clone https://github.com/andyjk15/price-collector.git COPY / /home/price-collector/
EXPOSE 9090 EXPOSE 9090
CMD ["python", "/home/price-collector/src/main.py"] CMD ["python", "/home/price-collector/main.py"]

View File

@ -45,6 +45,7 @@ try {
} }
sh "ls -la" sh "ls -la"
sh "pwd"
} }
stage('Test Artifact') { stage('Test Artifact') {