From c6be6eb9121d65af436dbb7dea076e8c166eb763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=80=D1=83=D0=B3=D0=BB=D0=B8=D1=86=D0=BA=D0=B8?= =?UTF-8?q?=D0=B9=20=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=92=D0=B8?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Fri, 21 Nov 2025 08:48:15 +0600 Subject: [PATCH] deploy --- Dockerfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 595a942..ea9eeee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,15 @@ RUN yarn install COPY . . RUN yarn build -FROM nginx:stable-alpine - -COPY --from=build /app/dist /usr/share/nginx/html +RUN npm install -g serve EXPOSE 80 - -CMD ["nginx", "-g", "daemon off;"] +CMD ["serve", "-s /app/dist", "-l 80"] +# +#FROM nginx:stable-alpine +# +#COPY --from=build /app/dist /usr/share/nginx/html +# +#EXPOSE 80 +# +#CMD ["nginx", "-g", "daemon off;"]