Skip to content

Commit

Permalink
Include .tool-versions in docker image & ignore .prettierignore
Browse files Browse the repository at this point in the history
  • Loading branch information
scottohara committed Feb 20, 2024
1 parent 33c89cd commit 41a97b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ vendor
.eslintignore
.eslintrc.json
.gitignore
.prettierignore
.rspec
.rubocop.yml
.tool-versions
cypress.config.ts
fly*.toml
karma*.js
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -60,6 +62,7 @@ RUN \
bundle config set --local deployment true;

COPY --link --chown=tvmanager \
.tool-versions \
config.ru \
Gemfile* \
Rakefile ./
Expand Down

0 comments on commit 41a97b3

Please sign in to comment.