Spaces:
siyu7
/
Runtime error

chat / Dockerfile
dongsiqie's picture
Update Dockerfile
8e9ff5b
# FROM lobehub/lobe-chat:v0.99.1
FROM lobehub/lobe-chat
EXPOSE 3210
ENV PORT=3210
ENV ACCESS_CODE=""
USER root
RUN mkdir -p /app/.next/cache
RUN chmod -R 777 /app/.next/cache
RUN mkdir -p nonexistent
RUN chmod -R 777 nonexistent
# RUN yarn add sharp
USER nextjs
CMD ["node", "server.js"]