Spaces:
Running
Running
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -72,11 +72,11 @@ RUN mkdir -p /usr/share/fonts/truetype/noto && \
|
|
| 72 |
RUN git clone --depth 1 https://github.com/jnMetaCode/agency-agents-zh.git /app/agency-agents && \
|
| 73 |
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)"
|
| 74 |
|
| 75 |
-
# Build hermes-web-ui v0.5.
|
| 76 |
RUN rm -rf /tmp/hermes-web-ui && \
|
| 77 |
-
git clone --depth 1 --branch v0.5.
|
| 78 |
cd /tmp/hermes-web-ui && \
|
| 79 |
-
echo "build-v0.5.
|
| 80 |
npm install --ignore-scripts 2>&1 | tail -5 && \
|
| 81 |
npm run build 2>&1 | tail -10 && \
|
| 82 |
mkdir -p /app/webui-server && \
|
|
@@ -87,8 +87,8 @@ RUN rm -rf /tmp/hermes-web-ui && \
|
|
| 87 |
npm prune --omit=dev --prefix /tmp/hermes-web-ui 2>&1 | tail -3 && \
|
| 88 |
cp -r node_modules /app/webui-server/node_modules && \
|
| 89 |
rm -rf /tmp/hermes-web-ui && \
|
| 90 |
-
echo "v0.5.
|
| 91 |
-
echo "hermes-web-ui v0.5.
|
| 92 |
|
| 93 |
# Create hermes home
|
| 94 |
RUN mkdir -p /root/.hermes/plugins/image_gen/pollinations
|
|
|
|
| 72 |
RUN git clone --depth 1 https://github.com/jnMetaCode/agency-agents-zh.git /app/agency-agents && \
|
| 73 |
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)"
|
| 74 |
|
| 75 |
+
# Build hermes-web-ui v0.5.7
|
| 76 |
RUN rm -rf /tmp/hermes-web-ui && \
|
| 77 |
+
git clone --depth 1 --branch v0.5.7 https://github.com/EKKOLearnAI/hermes-web-ui.git /tmp/hermes-web-ui && \
|
| 78 |
cd /tmp/hermes-web-ui && \
|
| 79 |
+
echo "build-v0.5.7-$(date +%Y%m%d)" > .buildstamp && \
|
| 80 |
npm install --ignore-scripts 2>&1 | tail -5 && \
|
| 81 |
npm run build 2>&1 | tail -10 && \
|
| 82 |
mkdir -p /app/webui-server && \
|
|
|
|
| 87 |
npm prune --omit=dev --prefix /tmp/hermes-web-ui 2>&1 | tail -3 && \
|
| 88 |
cp -r node_modules /app/webui-server/node_modules && \
|
| 89 |
rm -rf /tmp/hermes-web-ui && \
|
| 90 |
+
echo "v0.5.7" > /app/webui.version && \
|
| 91 |
+
echo "hermes-web-ui v0.5.7 build done"
|
| 92 |
|
| 93 |
# Create hermes home
|
| 94 |
RUN mkdir -p /root/.hermes/plugins/image_gen/pollinations
|