This commit is contained in:
2025-03-16 13:42:53 +08:00
parent a909854e4c
commit e169585a99
52 changed files with 425 additions and 73 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM node:18-alpine
RUN mkdir -p /app
WORKDIR /app
COPY package.json ./
RUN npm install
RUN npm install --save-dev
COPY . /app
# Build the Next.js app
RUN npm run build
# Expose the port the app will run on
EXPOSE 3000
COPY . .
CMD ["npm", "run", "dev"]