summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-10-11 16:23:21 +0530
committerVikas Varma <vv8305@att.com>2019-10-11 14:34:05 +0000
commit396c1666b9bb7c96e236ac4b5980f4a6cc1fe6d2 (patch)
treefd10fa325f83d7fa4385ab510bd15fec5f4c3cf4
parentc63da2e2eb485642a247c61daf83a6c563803708 (diff)
changing path to access engine Dockerfile
Issue-ID: OPTFRA-578 Change-Id: I4e96abc226832d5b5c487fa15c4171daab07d00f Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rwxr-xr-xengine/build-dockers.sh2
-rw-r--r--engine/src/docker/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/build-dockers.sh b/engine/build-dockers.sh
index 2db2f52..68ede4e 100755
--- a/engine/build-dockers.sh
+++ b/engine/build-dockers.sh
@@ -49,7 +49,7 @@ function get_artifact_version() {
function build_image() {
log_ts Building Image in folder: $PWD with build arguments ${BUILD_ARGS}
- docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:latest .
+ docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:latest -f src/docker/Dockerfile .
log_ts ... Built
}
diff --git a/engine/src/docker/Dockerfile b/engine/src/docker/Dockerfile
index a9b4728..8eccb13 100644
--- a/engine/src/docker/Dockerfile
+++ b/engine/src/docker/Dockerfile
@@ -1,6 +1,6 @@
FROM python:2.7.15-alpine
-COPY /src/ /opt/engine
+COPY src/ /opt/engine
WORKDIR /opt/engine
ARG HTTP_PROXY