From a02e97b86901cb009a0e24b6461e32a32efd4ecb Mon Sep 17 00:00:00 2001 From: Miki Lombardi Date: Wed, 23 Oct 2024 13:04:04 +0000 Subject: [PATCH] fix(docer-compose): use npm ci for nextjs service --- Dockerfile | 2 +- docker-compose.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a426ae..59b2015 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY package.json ./ COPY package-lock.json ./ COPY prisma ./prisma -RUN npm install +RUN npm ci COPY . . COPY .env.docker .env diff --git a/docker-compose.yml b/docker-compose.yml index e81a991..e9f60d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,6 @@ services: - "3000:3000" volumes: - .:/app - - /app/node_modules depends_on: - postgres