Spaces:
Running
Running
Z User commited on
Commit ·
85fa724
1
Parent(s): 7b0e47a
chore: upgrade hermes-web-ui to v0.5.5
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
|
@@ -60,11 +60,11 @@ RUN mkdir -p /usr/share/fonts/truetype/noto && \
|
|
| 60 |
RUN git clone --depth 1 https://github.com/jnMetaCode/agency-agents-zh.git /app/agency-agents && \
|
| 61 |
echo "agency-agents-zh cloned ($(find /app/agency-agents -name '*.md' ! -name 'README*' ! -name 'CATALOG*' ! -name 'AGENT-LIST*' ! -name 'CONTRIBUTING*' ! -name 'LICENSE*' ! -name 'UPSTREAM*' | wc -l) agent files)"
|
| 62 |
|
| 63 |
-
# Build hermes-web-ui v0.5.
|
| 64 |
RUN rm -rf /tmp/hermes-web-ui && \
|
| 65 |
-
git clone --depth 1 --branch
|
| 66 |
cd /tmp/hermes-web-ui && \
|
| 67 |
-
echo "build-v0.5.
|
| 68 |
npm install --ignore-scripts 2>&1 | tail -5 && \
|
| 69 |
npm run build 2>&1 | tail -10 && \
|
| 70 |
mkdir -p /app/webui-server && \
|
|
@@ -75,7 +75,11 @@ RUN rm -rf /tmp/hermes-web-ui && \
|
|
| 75 |
npm prune --omit=dev --prefix /tmp/hermes-web-ui 2>&1 | tail -3 && \
|
| 76 |
cp -r node_modules /app/webui-server/node_modules && \
|
| 77 |
rm -rf /tmp/hermes-web-ui && \
|
|
|
|
| 78 |
echo "hermes-web-ui v0.5.3 build done"
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
# Create hermes home
|
| 81 |
RUN mkdir -p /root/.hermes/plugins/image_gen/pollinations
|
|
|
|
| 60 |
RUN git clone --depth 1 https://github.com/jnMetaCode/agency-agents-zh.git /app/agency-agents && \
|
| 61 |
echo "agency-agents-zh cloned ($(find /app/agency-agents -name '*.md' ! -name 'README*' ! -name 'CATALOG*' ! -name 'AGENT-LIST*' ! -name 'CONTRIBUTING*' ! -name 'LICENSE*' ! -name 'UPSTREAM*' | wc -l) agent files)"
|
| 62 |
|
| 63 |
+
# Build hermes-web-ui v0.5.5
|
| 64 |
RUN rm -rf /tmp/hermes-web-ui && \
|
| 65 |
+
git clone --depth 1 --branch v0.5.5 https://github.com/EKKOLearnAI/hermes-web-ui.git /tmp/hermes-web-ui && \
|
| 66 |
cd /tmp/hermes-web-ui && \
|
| 67 |
+
echo "build-v0.5.5-$(date +%Y%m%d)" > .buildstamp && \
|
| 68 |
npm install --ignore-scripts 2>&1 | tail -5 && \
|
| 69 |
npm run build 2>&1 | tail -10 && \
|
| 70 |
mkdir -p /app/webui-server && \
|
|
|
|
| 75 |
npm prune --omit=dev --prefix /tmp/hermes-web-ui 2>&1 | tail -3 && \
|
| 76 |
cp -r node_modules /app/webui-server/node_modules && \
|
| 77 |
rm -rf /tmp/hermes-web-ui && \
|
| 78 |
+
<<<<<<< HEAD
|
| 79 |
echo "hermes-web-ui v0.5.3 build done"
|
| 80 |
+
=======
|
| 81 |
+
echo "hermes-web-ui v0.5.5 build done"
|
| 82 |
+
>>>>>>> 0ef21e4 (chore: upgrade hermes-web-ui to v0.5.5)
|
| 83 |
|
| 84 |
# Create hermes home
|
| 85 |
RUN mkdir -p /root/.hermes/plugins/image_gen/pollinations
|