From e893fb0cd2d2d9b0767ce1f2d7c9ccaa1fb84b09 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Fri, 2 Oct 2020 09:10:01 +0100 Subject: [PATCH] serve static files in docker image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index c4de4503bf..87237d6cdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ ENV PGDATA=/var/openproject/pgdata ENV PGDATA_LEGACY=/var/lib/postgresql/9.6/main ENV DATABASE_URL=postgres://openproject:openproject@127.0.0.1/openproject +ENV RAILS_SERVE_STATIC_FILES=1 ENV HEROKU=true ENV RAILS_ENV=production ENV RAILS_CACHE_STORE=memcache