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