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" 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"]