File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ ENV NODE_ENGINE 4.1.1
88# Locate our binaries
99ENV PATH /app/heroku/node/bin/:/app/user/node_modules/.bin:$PATH
1010
11+ # Install OpenCV
12+ RUN mkdir -p /app/.heroku/opencv /tmp/opencv
13+ ADD Install-OpenCV /tmp/opencv
14+ WORKDIR /tmp/opencv/Ubuntu
15+ RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list && apt-get update
16+ RUN ./opencv_latest.sh
17+
1118# Create some needed directories
1219RUN mkdir -p /app/heroku/node /app/.profile.d
1320WORKDIR /app/user
@@ -18,12 +25,6 @@ RUN curl -s https://s3pository.heroku.com/node/v$NODE_ENGINE/node-v$NODE_ENGINE-
1825# Export the node path in .profile.d
1926RUN echo "export PATH=\" /app/heroku/node/bin:/app/user/node_modules/.bin:\$ PATH\" " > /app/.profile.d/nodejs.sh
2027
21- # Install OpenCV
22- RUN mkdir -p /app/.heroku/opencv /tmp/opencv
23- ADD Install-OpenCV /tmp/opencv
24- WORKDIR /tmp/opencv/Ubuntu
25- RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list && apt-get update
26- RUN ./opencv_latest.sh
2728
2829ONBUILD ADD package.json /app/user/
2930ONBUILD RUN /app/heroku/node/bin/npm install
You can’t perform that action at this time.
0 commit comments