chore: add nextjs template
This commit is contained in:
16
Dockerfile.agent.example
Normal file
16
Dockerfile.agent.example
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:20-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies first (for better caching)
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy application files
|
||||
COPY . .
|
||||
|
||||
# Expose Next.js dev port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start Next.js in dev mode with hot reload
|
||||
CMD ["npm", "run", "dev"]
|
||||
Reference in New Issue
Block a user