make sure the log folder and log file exist

This commit is contained in:
Absurdon 2019-11-27 19:29:40 +01:00
parent c13d053bd8
commit c56ca31e88
No known key found for this signature in database
GPG key ID: E383BEAE6F394B2F

View file

@ -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