From 6a440d29db6c0bf5c0933a5ad4316d221154ac7c Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 24 Sep 2024 11:11:18 +0100 Subject: [PATCH] now? --- .gitea/kubernetes/deployment.yaml | 2 -- Dockerfile | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/kubernetes/deployment.yaml b/.gitea/kubernetes/deployment.yaml index c387edf..b06894e 100644 --- a/.gitea/kubernetes/deployment.yaml +++ b/.gitea/kubernetes/deployment.yaml @@ -17,8 +17,6 @@ spec: - name: scoresaber-reloaded-container image: git.fascinated.cc/fascinated/scoresaber-reloaded:latest imagePullPolicy: Always - securityContext: - allowPrivilegeEscalation: false ports: - containerPort: 3000 resources: diff --git a/Dockerfile b/Dockerfile index 2ce7ac1..671b06c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,5 +47,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/next.config.mjs ./next.config.mjs USER nextjs EXPOSE 3000 +ENV HOSTNAME="0.0.0.0" +ENV PORT=3000 CMD ["pnpm", "start"]