summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorBrian Wald <bwald@gitlab.com>2019-02-09 13:11:34 +0000
committerPhilippe Lafoucrière <plafoucriere@gitlab.com>2019-02-09 13:11:34 +0000
commit17f837eee765afa68af155da43a84322dcb91284 (patch)
tree47f7078db04f3f53cf6158d59f29f3c472176b71 /Dockerfile
parentf21e2f545ea81cda9d6691d87000e247189b9dbf (diff)
Resolve NPM failures with certain Optional or Peer dependencies
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 7c7c38c..c2f6c33 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,10 +6,10 @@ RUN npm install npm-install-peers cheerio
# Don't let Rubygem fail with the numerous projects using PG or MySQL, install realpath
RUN apt-get update && apt-get install -y libpq-dev libmysqlclient-dev realpath && rm -rf /var/lib/apt/lists/*
-COPY run.sh html2json.js /
-COPY test /test
-
# Don't load RVM automatically, it doesn't work with GitLab-CI
RUN mv /etc/profile.d/rvm.sh /rvm.sh
+COPY test /test
+COPY run.sh html2json.js /
+
ENTRYPOINT ["/run.sh"]