From 1b52d2daf8542bdca16adbcce3c5753b436aa107 Mon Sep 17 00:00:00 2001 From: Gustavo Cunha Date: Tue, 17 Oct 2023 16:50:51 +0200 Subject: [PATCH] Fix production docker image build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d572eca..ad6f37ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ COPY --from=build /rails /rails # Run and own only the runtime files as a non-root user for security RUN useradd rails --create-home --shell /bin/bash && \ - chown -R rails:rails db log storage tmp + chown -R rails:rails db log tmp USER rails:rails # Entrypoint prepares the database.