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
ef8070d3
Unverified
Commit
ef8070d3
authored
May 09, 2024
by
joecryptotoo
Committed by
GitHub
May 09, 2024
Browse files
added healthcheck
parent
90503be2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Dockerfile
Dockerfile
+4
-2
No files found.
Dockerfile
View file @
ef8070d3
...
@@ -82,7 +82,7 @@ RUN echo -n 00000000-0000-0000-0000-000000000000 > $HOME/.cache/chroma/telemetry
...
@@ -82,7 +82,7 @@ RUN echo -n 00000000-0000-0000-0000-000000000000 > $HOME/.cache/chroma/telemetry
RUN if
[
"
$USE_OLLAMA
"
=
"true"
]
;
then
\
RUN if
[
"
$USE_OLLAMA
"
=
"true"
]
;
then
\
apt-get update
&&
\
apt-get update
&&
\
# Install pandoc and netcat
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc netcat-openbsd && \
apt-get install -y --no-install-recommends pandoc netcat-openbsd
curl
&& \
# 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
...
@@ -94,7 +94,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
...
@@ -94,7 +94,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
else \
else \
apt-get update && \
apt-get update && \
# Install pandoc and netcat
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc netcat-openbsd && \
apt-get install -y --no-install-recommends pandoc netcat-openbsd
curl
&& \
# 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 && \
# cleanup
# cleanup
...
@@ -134,4 +134,6 @@ COPY ./backend .
...
@@ -134,4 +134,6 @@ COPY ./backend .
EXPOSE
8080
EXPOSE
8080
HEALTHCHECK
CMD curl --fail http://localhost:8080 || 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