This commit is contained in:
2024-10-08 13:35:35 +08:00
parent 3272da0b2b
commit bd0f852f8a
12 changed files with 79 additions and 20 deletions

20
Dockerfile Normal file
View File

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