feat: Automatically create default admin account during Docker build process
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user