ar08 commited on
Commit
9a1399e
·
verified ·
1 Parent(s): aa2f7f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -2,6 +2,7 @@ FROM lobehub/lobe-chat
2
  WORKDIR /app
3
  RUN curl -fsSL https://ollama.com/install.sh | sh
4
  COPY . .
 
5
  EXPOSE 7860
6
  ENV PORT=7860
7
  CMD ["node", "server.js", "--port", "7860"]
 
2
  WORKDIR /app
3
  RUN curl -fsSL https://ollama.com/install.sh | sh
4
  COPY . .
5
+ ENV Environment="OLLAMA_ORIGINS=*"
6
  EXPOSE 7860
7
  ENV PORT=7860
8
  CMD ["node", "server.js", "--port", "7860"]