feat: Automatically create default admin account during Docker build process

This commit is contained in:
2025-07-28 21:48:28 +02:00
parent c767e65819
commit aada481c0a
2 changed files with 37 additions and 2 deletions

View File

@@ -32,6 +32,9 @@ COPY . .
# Build the application for production
RUN npm run build
# Create the default admin account
RUN node scripts/create-admin.js
# Expose the default Next.js port
EXPOSE 3000