lobe-chathah / Dockerfile
zhou20120904's picture
Update Dockerfile
2e8f57f verified
raw
history blame contribute delete
257 Bytes
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"]