test
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
2025-09-18 16:49:35 +02:00
parent 0a56d72b1b
commit 1f26e1819e
3 changed files with 6 additions and 0 deletions

View File

@ -10,10 +10,14 @@ RUN apt-get update -qq && \
ENV HOME=/home/app
USER app
ENV RAILS_ENV=production
COPY --chown=app:app Gemfile Gemfile.lock $HOME/wedding/
WORKDIR $HOME/wedding
RUN bundle
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
COPY --chown=app:app . $HOME/wedding/

View File

@ -5,6 +5,7 @@ Rails.application.configure do
# Code is not reloaded between requests.
config.cache_classes = true
#Rails.application.routes.default_url_options[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
#Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)

View File

@ -10,6 +10,7 @@ services:
web:
environment:
RAILS_ENV: production
CANONICAL_URL: beere5:3033, wedding.linepe.de
build: .
ports: