diff --git a/Dockerfile b/Dockerfile index edb4a76cd..d12a72496 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,15 +33,15 @@ COPY vendor/docker/ntp.conf /etc/ntp.conf # Add Runit script for shoryuken workers WORKDIR /home/app/webapp RUN mkdir /etc/service/shoryuken -ADD vendor/docker/shoryuken.sh /etc/service/shoryuken/run +COPY vendor/docker/shoryuken.sh /etc/service/shoryuken/run # Install Passenger monitor for Datadog -RUN wget https://github.com/Sjeanpierre/passenger-datadog-monitor/releases/download/v1.00/passenger-datadog-monitor && \ - mv passenger-datadog-monitor /usr/local/bin && \ - chmod +x /usr/local/bin/passenger-datadog-monitor && \ - mkdir /etc/service/passenger-datadog -ADD vendor/docker/passenger-datadog.sh /etc/service/passenger-datadog/run -RUN chmod +x /etc/service/passenger-datadog/run +# RUN wget https://github.com/Sjeanpierre/passenger-datadog-monitor/releases/download/v1.00/passenger-datadog-monitor && \ +# mv passenger-datadog-monitor /usr/local/bin && \ +# chmod +x /usr/local/bin/passenger-datadog-monitor && \ +# mkdir /etc/service/passenger-datadog +# COPY vendor/docker/passenger-datadog.sh /etc/service/passenger-datadog/run +# RUN chmod +x /etc/service/passenger-datadog/run # Install Ruby gems COPY Gemfile* /home/app/webapp/ @@ -50,7 +50,7 @@ RUN mkdir -p vendor/bundle && \ chown -R app:app . && \ chmod -R 755 . && \ gem update --system && \ - gem install bundler && \ + gem install bundler:2.1.4 && \ /sbin/setuser app bundle install --path vendor/bundle # Copy webapp folder