From 1ce1d28930f703070d82519a072833ef35c89f7c Mon Sep 17 00:00:00 2001 From: Min Zeya Phyo Date: Tue, 20 Jan 2026 09:27:52 +0630 Subject: [PATCH] Create required tmp directories in Dockerfile Add mkdir for tmp/pids, tmp/cache, tmp/sockets, log, db, and storage directories to prevent Puma startup failure. Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1e36a2d..185ba33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ RUN bundle install COPY . . +RUN mkdir -p tmp/pids tmp/cache tmp/sockets log db storage + RUN bundle exec rails assets:precompile 2>/dev/null || true EXPOSE 3000