New beta environment settings

This commit is contained in:
Daniel Schädler 2025-03-16 15:04:12 +01:00
parent 2b0eccf9bd
commit bc006d9f60
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +0,0 @@
# config/environments/beta.rb
require_relative 'production'

View File

@ -6,5 +6,7 @@ WORKDIR /app
COPY Gemfile* /app/
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
COPY . /app
# Duplicate production environment to beta environment
COPY config/environments/production.rb config/environments/beta.rb
ENV RAILS_ENV production
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0