mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-27 11:40:57 +00:00
make sure the log folder and log file exist
This commit is contained in:
parent
c13d053bd8
commit
c56ca31e88
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ RUN chown -R web:web /var/www
|
|||
WORKDIR /var/www
|
||||
USER web
|
||||
|
||||
RUN touch log/${RAILS_ENV}.log
|
||||
RUN mkdir -p /var/www/log && touch /var/www/log/${RAILS_ENV}.log
|
||||
RUN bundle config github.https true; cd /var/www && bundle install --path /var/bundle --jobs 4
|
||||
RUN bundle exec rake assets:precompile
|
||||
|
||||
|
|
Loading…
Reference in a new issue