Skip to content

Commit

Permalink
Change EntryPoint command
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Aug 4, 2017
1 parent 9ae10c3 commit cd57889
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN bundle install --deployment
VOLUME /var/www/bundler-api/log

ADD crontab /etc/cron.d/bundler-api-update
RUN chmod 0644 /etc/cron.d/bundler-api-update

EXPOSE 5000
ENTRYPOINT ["/var/www/bundler-api/script/web"]
ENTRYPOINT ["/var/www/bundler-api/bin/entrypoint"]
3 changes: 3 additions & 0 deletions bin/entrypoint
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
cron
/var/www/bundler-api/script/web

0 comments on commit cd57889

Please sign in to comment.