From 3cbdb7899273c946a5ee4ca8c30b7a6a64d7b1e3 Mon Sep 17 00:00:00 2001 From: Dede Fuji Abdul Date: Thu, 11 Jan 2024 20:53:08 +0700 Subject: [PATCH] Update Dockerfile to include nginx.conf --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a7d18cc..8b6a16e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ WORKDIR /app COPY package*.json ./ RUN npm install COPY . . -COPY nginx.conf /etc/nginx/nginx.conf RUN npm run build # tahap produksi FROM nginx:stable-alpine as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html +COPY --from=build-stage /app/nginx.conf /etc/nginx/nginx.conf EXPOSE 32167 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file