Include pandoc in docker build

[ci skip]
pull/6816/head
Oliver Günther 6 years ago
parent bb35a5fb16
commit 7930e80532
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 3
      Dockerfile

@ -48,6 +48,9 @@ RUN sed -i "s|Rails.groups(:opf_plugins)|Rails.groups(:opf_plugins, :docker)|" c
# Run the npm postinstall manually after it was copied
RUN DATABASE_URL=sqlite3:///tmp/db.sqlite3 SECRET_TOKEN=foobar RAILS_ENV=production bundle exec rake assets:precompile
# Include pandoc
RUN RAILS_ENV=production bundle exec rails runner "puts ::OpenProject::TextFormatting::Formats::Markdown::PandocDownloader.check_or_download!"
CMD ["./docker/web"]
ENTRYPOINT ["./docker/entrypoint.sh"]
VOLUME ["$APP_DATA"]

Loading…
Cancel
Save