Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
FROM lobehub/lobe-chat:v0.99.1
|
2 |
-
|
3 |
EXPOSE 3210
|
4 |
ENV PORT=3210
|
5 |
ENV ACCESS_CODE=""
|
@@ -8,6 +8,6 @@ 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"]
|
|
|
1 |
+
# FROM lobehub/lobe-chat:v0.99.1
|
2 |
+
FROM lobehub/lobe-chat
|
3 |
EXPOSE 3210
|
4 |
ENV PORT=3210
|
5 |
ENV ACCESS_CODE=""
|
|
|
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"]
|