Protect Tabularium with persistent authenticator-code login
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 5m28s
Verify and deploy Tabularium / verify-and-deploy (push) Successful in 5m28s
This commit is contained in:
+2
-1
@@ -1,8 +1,9 @@
|
||||
FROM node:22-bookworm-slim
|
||||
ENV NODE_ENV=production NEXT_TELEMETRY_DISABLED=1 HOSTNAME=0.0.0.0 PORT=3000
|
||||
ENV NODE_ENV=production NEXT_TELEMETRY_DISABLED=1 HOSTNAME=0.0.0.0 PORT=3000 AUTH_CONFIG_FILE=/auth/config.json AUTH_COOKIE_SECURE=false
|
||||
WORKDIR /app
|
||||
# Context is the verified standalone artifact, never the source checkout.
|
||||
COPY --chown=node:node . .
|
||||
RUN mkdir -p /auth && chown node:node /auth && chmod 700 /auth
|
||||
USER node
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK --interval=10s --timeout=5s --start-period=10s --retries=6 \
|
||||
|
||||
Reference in New Issue
Block a user