From 4f31c8a740558729d2b8a4b3d69d50f0d4a5d9e8 Mon Sep 17 00:00:00 2001 From: Jose Storopoli Date: Fri, 17 May 2024 15:05:01 -0300 Subject: [PATCH] another try --- .github/workflows/buildService.yml | 2 +- Dockerfile | 3 --- docker_entrypoint.sh | 3 --- manifest.yaml | 4 ++-- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 docker_entrypoint.sh diff --git a/.github/workflows/buildService.yml b/.github/workflows/buildService.yml index 63735f2..141163f 100644 --- a/.github/workflows/buildService.yml +++ b/.github/workflows/buildService.yml @@ -29,7 +29,7 @@ jobs: echo "package_id=$PACKAGE_ID" >> $GITHUB_ENV shell: bash - - name: Upload .s8pk + - name: Upload .s9pk uses: actions/upload-artifact@v4 with: name: ${{ env.package_id }}.s9pk diff --git a/Dockerfile b/Dockerfile index b1a3012..3644045 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,4 @@ ENV NODE_ENV="production" EXPOSE 3000 -HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD wget --quiet --tries=1 --spider http://localhost:3000 || exit 1 - ENTRYPOINT ["npm", "start"] diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh deleted file mode 100644 index 43c88a1..0000000 --- a/docker_entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -NODE_ENV="production" npm start \ No newline at end of file diff --git a/manifest.yaml b/manifest.yaml index 3c167b6..026fb66 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -21,8 +21,8 @@ assets: main: type: docker image: main - entrypoint: "docker_entrypoint.sh" - args: [] + entrypoint: npm + args: ["run"] mounts: main: /root health-checks: {}