From 74cddabe6e965841d3cebace0665077bb9c08314 Mon Sep 17 00:00:00 2001 From: Chirag-Bhatti Date: Thu, 10 Aug 2023 15:19:46 +0100 Subject: [PATCH] feat: remove unrequired staging Dockerfile stage --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 991bcb50f..e4c3617c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ USER nonroot CMD bundle exec rails s -e ${RAILS_ENV} -p ${PORT} --binding=0.0.0.0 -FROM base as staging +FROM base as production # We expect the rake assets:precompile command to create these directories, but mkdir -p will create them if they don't already exist RUN mkdir -p tmp log @@ -70,5 +70,3 @@ RUN chown nonroot db/schema.rb USER nonroot CMD bundle exec rails s -e ${RAILS_ENV} -p ${PORT} --binding=0.0.0.0 - -FROM staging as production