diff --git a/.github/workflows/team-deployment.yml b/.github/workflows/team-deployment.yml index e85a8c44c..0227383d5 100644 --- a/.github/workflows/team-deployment.yml +++ b/.github/workflows/team-deployment.yml @@ -25,16 +25,17 @@ jobs: script: | cd hng_boilerplate_nextjs ./scripts/team_deploy.sh kimiko-golang ${{ vars.PORT }} - kimiko-cs: + + kimiko-csharp: if: github.event.repository.fork == false runs-on: ubuntu-latest environment: - name: "kimiko-cs" + name: "kimiko-csharp" url: ${{ vars.URL }} steps: - - name: Deploy to kimiko-cs environment + - name: Deploy to kimiko-csharp environment uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.HOST }} @@ -42,7 +43,7 @@ jobs: password: ${{ secrets.PASSWORD }} script: | cd hng_boilerplate_nextjs - ./scripts/team_deploy.sh kimiko-cs ${{ vars.PORT }} + ./scripts/team_deploy.sh kimiko-csharp ${{ vars.PORT }} cyborgs-java: if: github.event.repository.fork == false diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 1804005e9..74067e5bb 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -1,4 +1,4 @@ -Use the official Node.js image based on Alpine Linux for a smaller image size +# Use the official Node.js image based on Alpine Linux for a smaller image size FROM node:20-alpine AS base FROM base AS deps @@ -24,6 +24,7 @@ COPY . . # Build the application RUN corepack enable pnpm && pnpm run build + # Production image, copy all the files and run next FROM base AS runner WORKDIR /app @@ -52,4 +53,4 @@ ENV PORT 3000 # server.js is created by next build from the standalone output # https://nextjs.org/docs/pages/api-reference/next-config-js/output -CMD HOSTNAME="0.0.0.0" node server.js \ No newline at end of file +CMD HOSTNAME="0.0.0.0" node server.js diff --git a/docker/staging/Dockerfile b/docker/staging/Dockerfile index 1804005e9..74067e5bb 100644 --- a/docker/staging/Dockerfile +++ b/docker/staging/Dockerfile @@ -1,4 +1,4 @@ -Use the official Node.js image based on Alpine Linux for a smaller image size +# Use the official Node.js image based on Alpine Linux for a smaller image size FROM node:20-alpine AS base FROM base AS deps @@ -24,6 +24,7 @@ COPY . . # Build the application RUN corepack enable pnpm && pnpm run build + # Production image, copy all the files and run next FROM base AS runner WORKDIR /app @@ -52,4 +53,4 @@ ENV PORT 3000 # server.js is created by next build from the standalone output # https://nextjs.org/docs/pages/api-reference/next-config-js/output -CMD HOSTNAME="0.0.0.0" node server.js \ No newline at end of file +CMD HOSTNAME="0.0.0.0" node server.js