From af5247571f21f20add4980994f85f2d4d61a1815 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 17 Oct 2024 19:01:21 +0800 Subject: [PATCH] Update build step --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78809ac..dad8766 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,7 @@ FROM node:18-alpine as build WORKDIR /usr/local/app COPY ./ /usr/local/app/ RUN npm install -RUN chmod +x /usr/local/app/build.sh -RUN /usr/local/app/build.sh +RUN npm run build FROM nginx:latest RUN rm -rf /usr/share/nginx/html/*