now?
All checks were successful
Deploy / deploy (push) Successful in 1m41s

This commit is contained in:
Lee 2024-09-24 10:37:30 +01:00
parent d0206ff07d
commit 3192d9f03f
2 changed files with 19 additions and 19 deletions

@ -12,24 +12,24 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
# - name: Set up Docker Buildx - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
# - name: Login to Docker Hub - name: Login to Docker Hub
# uses: docker/login-action@v3 uses: docker/login-action@v3
# with: with:
# username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
# password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
# registry: git.fascinated.cc registry: git.fascinated.cc
# - name: Build and push - name: Build and push
# uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
# with: with:
# context: . context: .
# push: true push: true
# tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest tags: git.fascinated.cc/fascinated/scoresaber-reloaded:latest
# build-args: | build-args: |
# GIT_REV=${{ gitea.sha }} GIT_REV=${{ gitea.sha }}
- name: Install kubectl - name: Install kubectl
uses: azure/setup-kubectl@v4 uses: azure/setup-kubectl@v4

@ -41,7 +41,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/package.json ./package.json
COPY --from=builder --chown=nextjs:nodejs /app/next.config.mjs ./next.config.mjs COPY --from=builder --chown=nextjs:nodejs /app/next.config.mjs ./next.config.mjs
USER nextjs USER nextjs
EXPOSE 80
ENV HOSTNAME="0.0.0.0" EXPOSE 3000
ENV PORT=80
CMD ["pnpm", "start"] CMD ["pnpm", "start"]