container restart in while
This commit is contained in:
parent
137335b42c
commit
a557df4e4d
|
@ -30,6 +30,8 @@ RUN export BUILD_DEPS="build-base \
|
|||
&& git clone -b master https://github.com/diaspora/diaspora.git /diaspora \
|
||||
&& cd /diaspora \
|
||||
&& chmod +x script/server \
|
||||
&& bin/bundle config --global silence_root_warning 1 \
|
||||
&& bin/bundle install --retry 4 --without test development \
|
||||
&& apk del ${BUILD_DEPS} \
|
||||
&& rm -rf /tmp/* /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /diaspora/.git
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@ ln -s /config/database.yml /diaspora/config/database.yml
|
|||
ln -s /config/diaspora.yml /diaspora/config/diaspora.yml
|
||||
chown -R diaspora:diaspora /diaspora
|
||||
cd /diaspora
|
||||
bin/bundle config --global silence_root_warning 1
|
||||
bin/bundle install --retry 4 --without test development
|
||||
./script/configure_bundler
|
||||
|
||||
RAILS_ENV=production bin/rake db:create db:migrate
|
||||
|
|
Reference in New Issue