From 27a4378a961a444f6b1021ff4fae3ce859d63438 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Mon, 24 Feb 2020 12:01:36 +0000 Subject: [PATCH] [24.02.20] Revert : Instead of copying do git clone --- Dockerfile | 6 +++--- configuration/pipelines/build.groovy | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b29a959..9f12198 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM python:3.7-alpine MAINTAINER Andrew Sotheran RUN apk update && \ - apk add py-pip libc-dev gcc git + apk add py-pip libc-dev gcc RUN pip install utils pycryptodome && \ pip install python-env coinbase -RUN git clone https://github.com/andyjk15/price-collector.git +COPY / /home/price-collector/ EXPOSE 9090 -CMD ["python", "/home/price-collector/src/main.py"] \ No newline at end of file +CMD ["python", "/home/price-collector/main.py"] \ No newline at end of file diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 338d430..8025305 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -45,6 +45,7 @@ try { } sh "ls -la" + sh "pwd" } stage('Test Artifact') {