Skip to content

Commit d50d06c

Browse files
committed
Meteor 0.9.2.2 + Reaction 0.1.6
1 parent 1299fc0 commit d50d06c

File tree

7 files changed

+88
-137
lines changed

7 files changed

+88
-137
lines changed

.meteor/cordova-plugins

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.meteor/packages

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ coffeescript
1010
jquery
1111
force-ssl
1212
oauth-encryption
13+
accounts-facebook
1314

1415
# Reaction Commerce Packages
1516
reactioncommerce:core
1617
reactioncommerce:reaction-paypal
1718
reactioncommerce:reaction-google-analytics
1819
reactioncommerce:reaction-helloworld
19-
accounts-facebook
20+

.meteor/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+

.meteor/versions

Lines changed: 50 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,103 @@
1-
accounts-base@1.0.1
1+
accounts-base@1.1.0
22
3-
accounts-oauth@1.0.0
3+
accounts-oauth@1.1.0
44
5-
accounts-ui-unstyled@1.0.1
6-
alanning:[email protected].12
7-
aldeed:autoform@1.0.0
8-
aldeed:collection2@1.0.0
5+
accounts-ui-unstyled@1.1.1
6+
alanning:[email protected].13
7+
aldeed:autoform@2.0.2
8+
aldeed:collection2@2.1.0
99
10-
11-
aldeed:template-extension@1.0.0
10+
11+
aldeed:template-extension@2.0.0
1212
13-
14-
13+
14+
15+
1516
1617
1718
19+
1820
1921
2022
2123
2224
2325
2426
25-
27+
28+
2629
2730
2831
29-
32+
3033
3134
32-
35+
36+
3337
34-
35-
38+
39+
3640
3741
38-
cmather:handlebars-server@0.2.0
39-
42+
cmather:handlebars-server@2.0.0
43+
4044
4145
4246
43-
dburles:collection-helpers@0.3.2
47+
dburles:collection-helpers@1.0.0
4448
45-
46-
49+
50+
4751
48-
52+
53+
4954
5055
5156
5257
5358
54-
55-
59+
60+
5661
5762
5863
5964
6065
6166
6267
63-
64-
68+
69+
6570
66-
67-
68-
69-
70-
71-
71+
72+
73+
74+
75+
76+
77+
7278
73-
79+
7480
7581
7682
7783
7884
79-
oauth2@1.0.0
80-
oauth@1.0.1
85+
oauth2@1.1.0
86+
oauth@1.1.0
8187
8288
8389
8490
8591
86-
reactioncommerce:[email protected].5
92+
reactioncommerce:[email protected].6
8793
reactioncommerce:[email protected]
88-
reactioncommerce:[email protected].2
94+
reactioncommerce:[email protected].3
8995
reactioncommerce:[email protected]
90-
96+
9197
92-
reload@1.0.1
98+
reload@1.1.0
9399
94-
100+
95101
96102
97103
@@ -100,8 +106,10 @@ [email protected]
100106
101107
102108
103-
109+
104110
105-
111+
106112
107-
113+
114+
115+

Dockerfile

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,59 @@
11
############################################################
2-
# Dockerfile the demeteorizers a Meteor app, and runs
3-
# as a standard node app.
2+
# Builds a Meteor 0.9.x+ application Docker image
3+
#
44
# See: http://docs.docker.io/
5+
#
6+
# Important: Best to run from a clean directory that hasn't had meteor run in it.
7+
# Important: packages/<pkg>/.npm and .build* should not exist
8+
#
59
# Example usage:
6-
# cd appdir
7-
# docker build --tag="ongoworks/reaction:0.1.0" . #build step
8-
# docker push ongoworks/reaction:0.1.0 #push to docker repo
9-
# docker run -p 127.0.0.1:8080:8080 ongoworks/reaction:0.1.0 #run
10-
############################################################
10+
# cd appdir #in app dir
11+
# docker build --tag="<org>/<app>" . #build step
12+
# docker push <org>/<app> #push to docker repo
13+
# docker run -p 127.0.0.1:8080:8080 <org>/<app> #run
14+
##############################################################
1115

12-
FROM node
16+
FROM google/debian:wheezy
1317
MAINTAINER Aaron Judd <[email protected]>
1418

15-
#Install required packages first
16-
RUN apt-get update && apt-get install -qq -y curl git gcc make build-essential imagemagick
19+
# install node + (optional imagemagick for cfs:graphicsmagick)
20+
RUN apt-get update -y && apt-get install --no-install-recommends -y -q curl python gcc make build-essential git ca-certificates nano
21+
RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.10.29/node-v0.10.29-linux-x64.tar.gz | tar xvzf - -C /nodejs --strip-components=1
22+
ENV PATH $PATH:/nodejs/bin
23+
24+
# install imagemagick (optional for cfs:graphicsmagick)
25+
RUN apt-get install --no-install-recommends -y -q chrpath libfreetype6 libfreetype6-dev libssl-dev libfontconfig1 imagemagick
1726

18-
# Update to latest node
19-
RUN npm cache clean -f && npm install -g n && n 0.10.29
27+
#install forever and phantomjs (optional for spiderable)
28+
RUN npm install --silent -g forever phantomjs
2029

2130
# Install Meteor
2231
RUN curl https://install.meteor.com | /bin/sh
23-
RUN npm install --silent -g forever meteorite phantomjs
24-
25-
# Add current dir+subs to meteorsrc
26-
ADD . ./meteorsrc
27-
WORKDIR /meteorsrc
32+
ADD . /meteor/src
33+
WORKDIR /meteor/src/
2834

2935
# Bundle meteorsrc to /var/www/app
30-
RUN mrt install && meteor bundle --directory /var/www/app
31-
32-
# Set the working directory to be used for commands that are run, including the default CMD below
33-
RUN cd /var/www/app/programs/server && npm install
34-
WORKDIR /var/www/app
36+
RUN meteor build --directory /meteor
37+
RUN cd /meteor/bundle/programs/server/ && npm install
38+
WORKDIR /meteor/bundle
3539

3640
#
37-
# Default ENV settings for meteor app
38-
# Required to run meteor!
41+
# Default Meteor ENV settings for meteor app
3942
# either change these or pass as --env in the docker run
4043
#
4144
ENV PORT 8080
4245
ENV ROOT_URL "http://127.0.0.1"
4346
ENV MONGO_URL "mongodb://127.0.0.1:3001/meteor"
44-
47+
ENV DISABLE_WEBSOCKETS "1"
4548

4649
# Expose container port 8080 to the host (outside the container)
4750
EXPOSE 8080
4851

4952
RUN touch .foreverignore
53+
5054
# Define default command that runs the node app on container port 8080
51-
CMD forever -w ./main.js
55+
CMD forever -w ./main.js
56+
57+
58+
# Clean up APT when done.
59+
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /meteor/src

smart.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

smart.lock

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)