Build native recommendify worker (#6)

This commit is contained in:
Helge Rausch
2018-01-09 11:52:59 +01:00
committed by GitHub
parent ee4b8d6dd1
commit 90a39864cf

View File

@@ -7,4 +7,8 @@ ADD sidekiq-run /etc/service/sidekiq/run
USER app
RUN bash -l -c 'bundle exec whenever --update-crontab'
RUN bash -l -c 'cd $(bundle show recommendify); \
bundle install --path /tmp/recommendify-bundle; \
bundle exec rake build_native; \
rm -rf /tmp/recommendify-bundle'
USER root