From 7f496257bf741bef1629efa516f83da4157b7c40 Mon Sep 17 00:00:00 2001 From: Oghenetega Okene Date: Sat, 16 Mar 2024 20:53:20 -0700 Subject: [PATCH] Update frontend Dockerfile --- frontend/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7404915..fca58e6 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -2,11 +2,10 @@ FROM node:21-alpine as builder WORKDIR /frontend -COPY package.json ./ -COPY package-lock.json ./ +COPY package*.json ./ -RUN npm ci +RUN npm run install COPY . /frontend -CMD ["npm", "run", "build"] +RUN npm run build