lljz66 commited on
Commit
e2823f4
·
verified ·
1 Parent(s): 905ba29

Put Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20-alpine
2
+ WORKDIR /app
3
+ COPY package.json ./
4
+ RUN npm install
5
+ COPY . .
6
+ ENV NEXT_TELEMETRY_DISABLED=1
7
+ ENV PORT=7860
8
+ RUN npm run build
9
+ EXPOSE 7860
10
+ CMD ["npm", "run", "start"]