Create Dockerfile
Browse files- 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"]
|