summaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/docker/Dockerfile
diff options
context:
space:
mode:
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" ]