[24.02.20] Revert : Instead of copying do git clone
This commit is contained in:
parent
41742a0363
commit
27a4378a96
@ -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"]
|
||||||
@ -45,6 +45,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sh "ls -la"
|
sh "ls -la"
|
||||||
|
sh "pwd"
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Test Artifact') {
|
stage('Test Artifact') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user