-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlos Santana
committed
Jun 29, 2017
1 parent
0fb3e3f
commit 4affcb3
Showing
3 changed files
with
42 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,74 @@ | ||
FROM nodejsactionbase | ||
|
||
# based on https://github.com/nodejs/docker-node | ||
#ENV NODE_VERSION 6.10.2 | ||
#ENV NODE_URL_DOWNLOAD https://nodejs.org/dist | ||
#RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \ | ||
# && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \ | ||
# && rm "node-v$NODE_VERSION-linux-x64.tar.gz" | ||
|
||
ENV NODE_VERSION 6.10.2-rc.1 | ||
ENV NODE_URL_DOWNLOAD https://nodejs.org/download/rc | ||
ENV NODE_VERSION 6.11.0 | ||
ENV NODE_URL_DOWNLOAD https://nodejs.org/dist | ||
|
||
RUN curl -SLO "$NODE_URL_DOWNLOAD/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \ | ||
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \ | ||
&& rm "node-v$NODE_VERSION-linux-x64.tar.gz" | ||
|
||
# workaround for this: https://github.com/npm/npm/issues/9863 | ||
RUN cd $(npm root -g)/npm \ | ||
&& npm install fs-extra \ | ||
&& sed -i -e s/graceful-fs/fs-extra/ -e s/fs\.rename/fs\.move/ ./lib/utils/rename.js | ||
|
||
WORKDIR /nodejsAction | ||
|
||
# Install app dependencies | ||
RUN rm -rf .project .settings build.xml Dockerfile README node_modules logs | ||
RUN npm install . | ||
|
||
RUN npm install \ | ||
[email protected] \ | ||
async@2.1.4 \ | ||
[email protected].1 \ | ||
async@2.5.0 \ | ||
[email protected].2 \ | ||
[email protected] \ | ||
[email protected] \ | ||
cloudant@1.7.1 \ | ||
commander@2.9.0 \ | ||
consul@0.28.0 \ | ||
cloudant@1.8.0 \ | ||
commander@2.10.0 \ | ||
consul@0.29.0 \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected].2 \ | ||
[email protected].2 \ | ||
[email protected].1 \ | ||
[email protected].3 \ | ||
[email protected].3 \ | ||
[email protected].2 \ | ||
[email protected] \ | ||
[email protected].2 \ | ||
[email protected].4 \ | ||
[email protected] \ | ||
[email protected].15 \ | ||
[email protected].18 \ | ||
[email protected] \ | ||
[email protected] \ | ||
moment@2.17.0 \ | ||
[email protected].25 \ | ||
moment@2.18.1 \ | ||
[email protected].29 \ | ||
[email protected] \ | ||
nano@6.2.0 \ | ||
[email protected].7 \ | ||
nodemailer@3.1.8 \ | ||
nano@6.3.0 \ | ||
[email protected].8 \ | ||
nodemailer@4.0.1 \ | ||
[email protected] \ | ||
openwhisk@3.4.1 \ | ||
openwhisk@3.6.0 \ | ||
[email protected] \ | ||
[email protected].9 \ | ||
[email protected].10 \ | ||
pug@">=2.0.0-beta11 <2.0.1" \ | ||
[email protected] \ | ||
request@2.79.0 \ | ||
[email protected].0 \ | ||
request@2.81.0 \ | ||
[email protected].1 \ | ||
[email protected] \ | ||
[email protected] \ | ||
sendgrid@5.0.0 \ | ||
[email protected].2 \ | ||
socket.io@1.7.3 \ | ||
socket.io-client@1.7.3 \ | ||
sendgrid@5.1.1 \ | ||
[email protected].3 \ | ||
socket.io@2.0.3 \ | ||
socket.io-client@2.0.3 \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
twilio@2.11.1 \ | ||
twilio@3.4.0 \ | ||
[email protected] \ | ||
uuid@3.0.0 \ | ||
validator@6.1.0 \ | ||
watson-developer-cloud@2.29.0 \ | ||
uuid@3.1.0 \ | ||
validator@7.2.0 \ | ||
watson-developer-cloud@2.32.1 \ | ||
[email protected] \ | ||
[email protected] \ | ||
ws@2.2.2 \ | ||
ws@3.0.0 \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
--save-exact \ | ||
&& npm cache clean | ||
|
||
# See app.js | ||
CMD node --expose-gc app.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
Dockerfile | ||
build.gradle | ||
.project | ||
.settings | ||
build.xml | ||
README | ||
node_modules | ||
logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters