Skip to content

Commit

Permalink
copy args needed to build from one-app
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewroth committed Dec 10, 2024
1 parent 292bf47 commit 4c53375
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,14 @@ COPY . .

# Environment required to build the application
ARG RAILS_ENV=production
ARG STORAGE_REDIS_HOST=localhost
ARG RAILS_ENV=production
ARG SESSION_REDIS_DB_INDEX=1
ARG SESSION_REDIS_HOST=localhost
ARG SESSION_REDIS_PORT=6379
ARG STORAGE_REDIS_DB_INDEX=1
ARG SECRET_KEY_BASE=abc123
ARG STORAGE_REDIS_HOST=localhost
ARG STORAGE_REDIS_PORT=6379
ARG SECRET_KEY_BASE=asdf

# Compile assets
RUN RAILS_ENV=production bundle exec rake assets:clobber assets:precompile \
Expand Down

0 comments on commit 4c53375

Please sign in to comment.