From 08e4eb15a9c988b9a1fc1a216c3f90a59f50a9e6 Mon Sep 17 00:00:00 2001 From: Doci Mou <22457019+dmou@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:06:22 -0400 Subject: [PATCH] attempt to copy schema.rb to /opt/db --- Dockerfile | 1 + config/environments/test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 480e4a35..2ba23a41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,7 @@ RUN gem install bundler -v "${BUNDLER_VERSION}" --no-document \ && bundle install --jobs 20 --retry 5 COPY ./ . COPY bin/ /opt/bin/ +COPY ./db/schema.rb /opt/db/schema.rb USER ${APP} diff --git a/config/environments/test.rb b/config/environments/test.rb index d6768f75..401446ad 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -58,5 +58,5 @@ config.log_level = :warn config.paths['log'] = "/var/log/#{ENV['DEPLOY_ENV']}.log" config.paths['tmp'] = "/tmp" - config.paths['db'] = "/opt" + config.paths['db'] = "/opt/db" end