Skip to content
Snippets Groups Projects
Commit 917b5720 authored by FERNANDES SAMUEL's avatar FERNANDES SAMUEL :star:
Browse files

add ollama serve command to Dockerfile and remove ollama service from docker-compose

parent 9642f87c
Branches
No related merge requests found
......@@ -14,6 +14,8 @@ COPY . .
RUN yarn generate
RUN yarn build
RUN ollama serve
EXPOSE 2728
CMD ["yarn", "run", "start"]
......
......@@ -33,8 +33,3 @@ services:
- UPLOAD_DIR=${UPLOAD_DIR}
container_name: api
network_mode: "host"
ollama:
container_name: ollama
network_mode: "host"
command: ["ollama", "serve", "||", "true"]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment