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