Skip to content

Commit

Permalink
tidying up commented or unused things
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhenryhf committed Nov 13, 2024
1 parent 6b4bec1 commit e682dde
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .docker/production/Dockerfile.gha
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ RUN mkdir $HOME \
WORKDIR $HOME

ENV EDIDB_DEVISE_SECRET_KEY=4949641a374994854c0529feb329a81885867f044eb6c23102892e38bb32da437a94ee27eb4086b196f7273868d4b06c682948f5ced62385c548ba2d96898e20
ENV EDIDB_SECRET_KEY_BASE=c8d2b9b204fbac78081a88a2c29b28cfeb82e6ccd3664b3948b813463b5917b315dbbd3040e8dffcb5b68df427099db0ce03e59e2432dfe5d272923b00755b82

# unused in Rails 3
# ENV EDIDB_SECRET_KEY_BASE=c8d2b9b204fbac78081a88a2c29b28cfeb82e6ccd3664b3948b813463b5917b315dbbd3040e8dffcb5b68df427099db0ce03e59e2432dfe5d272923b00755b82

ENV RECEIVER_ID=000000001

Expand Down Expand Up @@ -123,8 +125,6 @@ ENV RABBITMQ_URL=amqp://${HOSTNAME}:5672

COPY --chown=$USERNAME:$USERNAME ./config/exchange_prod.yml $HOME/config/exchange.yml

RUN mkdir -p /edidb/log/

RUN bundle exec rake assets:precompile

# https://github.com/rubygems/rubygems/issues/3225
Expand Down Expand Up @@ -159,8 +159,6 @@ COPY --chown=$USERNAME:$USERNAME --from=prod_gems_and_assets $HOME/public $HOME/

# Copy environment-based config files
COPY --chown=$USERNAME:$USERNAME ./config/exchange_prod.yml $HOME/config/exchange.yml
# COPY --chown=$USERNAME:$USERNAME ./.docker/config/secrets.yml $HOME/config
# COPY --chown=$USERNAME:$USERNAME ./.docker/config/unicorn.rb $HOME/config

USER $USERNAME

Expand Down

0 comments on commit e682dde

Please sign in to comment.