File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC64107
13
13
&& apt-get install -qq -y nginx=1.10.2-1~jessie
14
14
15
15
# install foreman
16
- RUN gem install foreman \
17
- && gem install unicorn
16
+ RUN gem install foreman
18
17
19
18
# install the latest postgresql lib for pg gem
20
19
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
@@ -39,11 +38,13 @@ ONBUILD ADD Gemfile /app/Gemfile
39
38
ONBUILD ADD Gemfile.lock /app/Gemfile.lock
40
39
ONBUILD RUN bundle install --without development test
41
40
ONBUILD ADD . /app
42
- ONBUILD RUN bundle exec rake assets:precompile
43
41
44
42
ADD nginx-sites.conf /etc/nginx/sites-enabled/default
45
43
ADD nginx.conf /etc/nginx/nginx.conf
46
44
ADD unicorn.rb /app/config/unicorn.rb
47
45
ADD Procfile /app/Procfile
48
46
47
+ # ADD server.crt /etc/nginx/ssl/server.crt
48
+ # ADD server.key /etc/nginx/ssl/server.key
49
+
49
50
CMD foreman start -f Procfile
Original file line number Diff line number Diff line change 43
43
44
44
include /etc/nginx/sites-enabled/*;
45
45
}
46
-
You can’t perform that action at this time.
0 commit comments