From 5e4976412a0c867da159fd457a7c0ec3f95f1869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=B3=D8=A7=D9=85=D8=A7=D9=86=20=D8=A8=D9=87=D8=B4=D8=AA?= =?UTF-8?q?=DB=8C=D8=A7=D9=86=20=28YiiMan=29?= Date: Mon, 23 Dec 2024 19:48:16 +0000 Subject: [PATCH] add workdir to docker for faster build --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index afae74d..c9325b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ # Stage 1: build the application FROM nginx:alpine AS build-nginx +WORKDIR /app RUN apk add nodejs npm COPY . . RUN npm i