dongsiqie commited on
Commit
00e5fc5
·
verified ·
1 Parent(s): 8c5260a

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FROM lobehub/lobe-chat:v0.99.1
2
+ FROM lobehub/lobe-chat
3
+ EXPOSE 3210
4
+ ENV PORT=3210
5
+ ENV ACCESS_CODE=""
6
+ USER root
7
+ RUN mkdir -p /app/.next/cache
8
+ RUN chmod -R 777 /app/.next/cache
9
+ RUN mkdir -p nonexistent
10
+ RUN chmod -R 777 nonexistent
11
+ # RUN yarn add sharp
12
+ USER nextjs
13
+ CMD ["node", "server.js"]