diff --git a/.dockerignore b/.dockerignore index 53311b9..ebf4fcb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -19,9 +19,9 @@ vendor .eslintignore .eslintrc.json .gitignore +.prettierignore .rspec .rubocop.yml -.tool-versions cypress.config.ts fly*.toml karma*.js diff --git a/Dockerfile b/Dockerfile index ded6814..f44ee38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,9 @@ RUN apk add --no-cache build-base WORKDIR /build ENV RACK_ENV=production -COPY --link Gemfile* ./ +COPY --link \ + .tool-versions \ + Gemfile* ./ RUN --mount=type=cache,id=tvmanager-bundler,target=tmp/vendor/bundle \ bundle config set --local without development:test; \ @@ -60,6 +62,7 @@ RUN \ bundle config set --local deployment true; COPY --link --chown=tvmanager \ + .tool-versions \ config.ru \ Gemfile* \ Rakefile ./