serve static files in docker image

pull/8759/head
Markus Kahl 4 years ago committed by Cyril Rohr
parent 4a5ba05950
commit e893fb0cd2
  1. 1
      Dockerfile

@ -23,6 +23,7 @@ ENV PGDATA=/var/openproject/pgdata
ENV PGDATA_LEGACY=/var/lib/postgresql/9.6/main ENV PGDATA_LEGACY=/var/lib/postgresql/9.6/main
ENV DATABASE_URL=postgres://openproject:openproject@127.0.0.1/openproject ENV DATABASE_URL=postgres://openproject:openproject@127.0.0.1/openproject
ENV RAILS_SERVE_STATIC_FILES=1
ENV HEROKU=true ENV HEROKU=true
ENV RAILS_ENV=production ENV RAILS_ENV=production
ENV RAILS_CACHE_STORE=memcache ENV RAILS_CACHE_STORE=memcache

Loading…
Cancel
Save