From 441c010aec0e1b1320f5c82adf1e72121dc8f4e5 Mon Sep 17 00:00:00 2001 From: nefrob <25070989+nefrob@users.noreply.github.com> Date: Sun, 6 Oct 2024 08:34:48 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Correct=20issue=20with=20builds?= =?UTF-8?q?=20not=20updating=20node=20modules=20volume=20(#39)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- docker-compose.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f199dd6..0673615 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apk update && \ WORKDIR /code COPY package.json yarn.lock ./ -RUN --mount=type=cache,target=/root/.yarn yarn +RUN --mount=type=cache,target=/root/.yarn yarn install --frozen-lockfile COPY . . diff --git a/docker-compose.yml b/docker-compose.yml index 3a83544..8652e2d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,4 @@ services: - NODE_ENV=developement volumes: - ./:/code - - node_modules:/code/node_modules - -volumes: - node_modules: + - /code/node_modules