From e9e5020e9534aad482223904ccca4aca1a6fd669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Wed, 21 Aug 2024 10:13:55 +0200 Subject: [PATCH] fix --- tools/walletextension/frontend/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/walletextension/frontend/Dockerfile b/tools/walletextension/frontend/Dockerfile index f5bebcafb3..600dbdf617 100644 --- a/tools/walletextension/frontend/Dockerfile +++ b/tools/walletextension/frontend/Dockerfile @@ -7,14 +7,11 @@ ENV NEXT_PUBLIC_API_GATEWAY_URL=${GATEWAY_API_URL} # Set the working directory WORKDIR /usr/src/app -# Install dependencies in a separate layer to optimize caching -COPY package*.json ./ +# Copy the necessary files to the working directory +COPY tools/walletextension/frontend/ . # Install dependencies -RUN npm install - -# Copy the rest of the application code -COPY . . +RUN npm ci # Build the Next.js app RUN npm run build