Update signup success message and clean up workspace
This commit is contained in:
16
Dockerfile.dev
Normal file
16
Dockerfile.dev
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies based on the preferred package manager
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
# Copy the rest of the application code
|
||||
COPY . .
|
||||
|
||||
# Set memory limit to prevent Next.js dev server from eating RAM
|
||||
ENV NODE_OPTIONS="--max-old-space-size=512"
|
||||
|
||||
# Start the Next.js development server
|
||||
CMD ["npm", "run", "dev"]
|
||||
Reference in New Issue
Block a user