diff --git a/Dockerfile b/Dockerfile index 6309fb0e..658f0a69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,7 @@ RUN gem install bundler -v "${BUNDLER_VERSION}" --no-document \ && bundle install --jobs 20 --retry 5 COPY ./ . COPY bin/ /opt/bin/ -RUN mkdir /opt/db -COPY db/schema.rb /opt/db/ +RUN mkdir /opt/db && cp db/schema.rb /opt/db/ USER ${APP}