fix(preview): run preview container in development (#1821)

This commit is contained in:
Sure Admin (bot)
2026-05-17 21:35:15 +02:00
committed by GitHub
parent 4c7d3638fd
commit c54bbaf03a

View File

@@ -65,7 +65,7 @@ export class RailsContainer extends Container {
pingEndpoint = "container/up";
entrypoint = ["/rails/bin/preview-entrypoint", "bundle", "exec", "puma", "-C", "config/puma.rb"];
envVars = {
RAILS_ENV: "production",
RAILS_ENV: "development",
RAILS_LOG_TO_STDOUT: "true",
RAILS_SERVE_STATIC_FILES: "true",
SECRET_KEY_BASE: "preview-secret-key-base-for-pr-${PR_NUMBER}",