From ef7cd5e52835d2e4091830be92cd4309d0f41e72 Mon Sep 17 00:00:00 2001 From: Ali Furkan <46776661+ali-furkqn@users.noreply.github.com> Date: Wed, 28 Oct 2020 21:00:26 +0300 Subject: [PATCH 1/2] Adjustment Workflow --- .github/workflows/deployment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 9124b3b..525bf8f 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -16,7 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - submodules: "recursive" + with: + submodules: "recursive" - uses: superfly/flyctl-actions@1.1 with: args: "deploy" From 33a72569e43f4e01b986100dac38f3a8419852f5 Mon Sep 17 00:00:00 2001 From: Ali Furkan <46776661+ali-furkqn@users.noreply.github.com> Date: Wed, 28 Oct 2020 21:43:29 +0300 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe6c8ca..ee7f601 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,11 @@ COPY scripts scripts RUN npm i +RUN npm run lib:build + RUN npm run build ENV NODE_ENV=production ENV PORT=8080 -CMD ["npm","run","start:prod"] \ No newline at end of file +CMD ["npm","run","start:prod"]