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 <noreply@anthropic.com>
This commit is contained in:
Min Zeya Phyo
2026-01-20 09:27:52 +06:30
parent 7e6dc82688
commit 1ce1d28930

View File

@@ -11,6 +11,8 @@ RUN bundle install
COPY . . COPY . .
RUN mkdir -p tmp/pids tmp/cache tmp/sockets log db storage
RUN bundle exec rails assets:precompile 2>/dev/null || true RUN bundle exec rails assets:precompile 2>/dev/null || true
EXPOSE 3000 EXPOSE 3000