Initial commit
This commit is contained in:
14
.dockerfile
Normal file
14
.dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
# record-app/Dockerfile
|
||||
FROM node:20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
COPY . .
|
||||
|
||||
# 端口可根据 next.config.js 设置
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
Reference in New Issue
Block a user