Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
db158fc9
Commit
db158fc9
authored
May 15, 2024
by
Timothy J. Baek
Browse files
Update Dockerfile
parent
e3016611
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Dockerfile
Dockerfile
+3
-2
No files found.
Dockerfile
View file @
db158fc9
...
@@ -86,7 +86,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
...
@@ -86,7 +86,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
# for RAG OCR
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# install helper tools
# install helper tools
apt-get install -y --no-install-recommends curl && \
apt-get install -y --no-install-recommends curl
jq
&& \
# install ollama
# install ollama
curl -fsSL https://ollama.com/install.sh | sh && \
curl -fsSL https://ollama.com/install.sh | sh && \
# cleanup
# cleanup
...
@@ -134,6 +134,7 @@ COPY ./backend .
...
@@ -134,6 +134,7 @@ COPY ./backend .
EXPOSE
8080
EXPOSE
8080
HEALTHCHECK
CMD curl --fail http://localhost:8080/health || exit 1
HEALTHCHECK
CMD curl --silent --fail http://localhost:8080/health | jq -e '.status == true' || exit 1
CMD
[ "bash", "start.sh"]
CMD
[ "bash", "start.sh"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment