forked from e621ng/e621ng
copy local config and database.yml in dockerfile
This commit is contained in:
parent
cb11f5f461
commit
097914ca67
@ -69,5 +69,7 @@ RUN /etc/init.d/postgresql start && sudo -u danbooru createdb danbooru2 && /etc/
|
|||||||
USER danbooru
|
USER danbooru
|
||||||
RUN git clone git://github.com/r888888888/danbooru.git ~/danbooru
|
RUN git clone git://github.com/r888888888/danbooru.git ~/danbooru
|
||||||
RUN ["/bin/bash", "-l", "-c", "cd ~/danbooru && bundle install"]
|
RUN ["/bin/bash", "-l", "-c", "cd ~/danbooru && bundle install"]
|
||||||
|
ADD $GITHUB_INSTALL/danbooru_local_config.rb.templ ~/danbooru/config/danbooru_local_config.rb
|
||||||
|
ADD $GITHUB_INSTALL/database.yml.templ ~/danbooru/config/database.yml
|
||||||
|
|
||||||
CMD supervisord -c /etc/supervisord.conf
|
CMD supervisord -c /etc/supervisord.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user