From 9a66dae34adf8aa56245fe5e2a599330d68334a4 Mon Sep 17 00:00:00 2001 From: Andy Hunt Date: Fri, 23 May 2025 14:48:47 +0100 Subject: [PATCH] Add a volume for /app/tmp/cache in Dockerfile So that the application can write to it when the filesystem is otherwise readonly --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fc5278e4..a61cc74f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ FROM base AS app # write to under /app/tmp/ must be added individually VOLUME "/tmp/" VOLUME "/app/tmp/sockets/" +VOLUME "/app/tmp/cache" ENV RAILS_ENV="${RAILS_ENV:-production}" \ PATH="${PATH}:/home/ruby/.local/bin" \