Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM lobehub/lobe-chat
|
2 |
+
EXPOSE 3210
|
3 |
+
ENV PORT=3210
|
4 |
+
USER root
|
5 |
+
RUN mkdir -p /app/.next/cache
|
6 |
+
RUN chmod -R 777 /app/.next/cache
|
7 |
+
RUN mkdir -p nonexistent
|
8 |
+
RUN chmod -R 777 nonexistent
|
9 |
+
USER nextjs
|
10 |
+
CMD ["node", "server.js"]
|