aboutsummaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/docker/Dockerfile
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-08-04 10:16:33 +0300
committerilanap <ilanap@amdocs.com>2019-08-04 10:16:33 +0300
commit061ca938ca6998b4ec33a862c763854259cfeab1 (patch)
tree824a0e4d9c21ed0f38d9dd497882e20687b7d1c0 /cucumber-js-test-apis-ci/docker/Dockerfile
parent610ff24fb145dc64e73a12d51901446b7b8be245 (diff)
Issue-ID: SDC-2483
Adding https support for cucumber tests and slight refactoring Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: Ib772d18cd4278238571daf54bcb6372c553d6e4b
Diffstat (limited to 'cucumber-js-test-apis-ci/docker/Dockerfile')
-rw-r--r--cucumber-js-test-apis-ci/docker/Dockerfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/cucumber-js-test-apis-ci/docker/Dockerfile b/cucumber-js-test-apis-ci/docker/Dockerfile
index fb4409215f..eab4e89f30 100644
--- a/cucumber-js-test-apis-ci/docker/Dockerfile
+++ b/cucumber-js-test-apis-ci/docker/Dockerfile
@@ -1,11 +1,12 @@
FROM node:8.16.0
-
ENV TESTS_BASE /var/lib/tests
USER root
RUN mkdir $TESTS_BASE
-COPY cucumber $TESTS_BASE
-COPY startup.sh $TESTS_BASE
-RUN chmod 777 $TESTS_BASE/startup.sh
+RUN mkdir $TESTS_BASE/environments
+COPY cucumber $TESTS_BASE
+COPY startup.sh .
+RUN chmod 777 ./startup.sh
+RUN chmod -R 777 $TESTS_BASE/node_modules/
-ENTRYPOINT [ "/var/lib/tests/startup.sh" ]
+ENTRYPOINT [ "./startup.sh" ]