From 9a57d7e25fbb1c3e43ee9eb518a266b9987d048a Mon Sep 17 00:00:00 2001 From: nyatindopatrick Date: Thu, 26 Sep 2024 10:13:57 +0300 Subject: [PATCH] Updae build folder --- .github/workflows/deploy.yml | 1 + docker/Dockerfile.prod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e8f87b8..f473714 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: branches: - main - develop + workflow_dispatch: jobs: build_and_deploy_dev: diff --git a/docker/Dockerfile.prod b/docker/Dockerfile.prod index ac9c147..f5f3b56 100644 --- a/docker/Dockerfile.prod +++ b/docker/Dockerfile.prod @@ -13,6 +13,6 @@ RUN npm run build FROM nginx:alpine COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf -COPY --from=build /app/build /usr/share/nginx/html +COPY --from=build /app/dist /usr/share/nginx/html CMD ["nginx", "-g", "daemon off;"]