Merge pull request #6000 from jbampton/update-docker-files

docker: use less image layers and update compose version
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-10-14 05:36:04 +07:00
committed by GitHub
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -6,11 +6,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y python3-pip she
WORKDIR /app
COPY Gemfile .
COPY Gemfile.lock .
COPY .pre-commit-config.yaml .
COPY Gemfile Gemfile.lock .pre-commit-config.yaml ./
RUN bundle install && pip3 install pre-commit && git init . && pre-commit install-hooks
+1 -1
View File
@@ -1,4 +1,4 @@
version: '3'
version: '3.8'
services:
test:
build: