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