Skip to content

Commit

Permalink
Reverted APP_ENV from dockerfile and added to spec_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronster2018 committed Jan 17, 2025
1 parent 551b6c1 commit d5af8b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends
FROM base AS production

ENV BUNDLE_PATH /gems
ENV APP_ENV test

RUN groupadd -g $GID -o $UNAME
RUN useradd -m -d /usr/src/app -u $UID -g $GID -o -s /bin/bash $UNAME
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true
ENV["APP_ENV"] = "test"

require "simplecov"
require "simplecov-lcov"
Expand Down

0 comments on commit d5af8b5

Please sign in to comment.