diff --git a/Dockerfile b/Dockerfile index f66995625..c4419b4f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 223e85af2..55b61a874 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3' +version: '3.8' services: test: build: