Spaces:
Running
Running
Commit ·
6f4dc30
1
Parent(s): 3af0eee
fix(amaru): copy web/assets into container so hero image renders
Browse filesThe Dockerfile only copied web/index.html, so /app/static/assets/ was
empty inside the container even though web/assets/amaru_hero.png is on
the Space (uploaded via Xet in commit 3af0eee). The running app
referenced /assets/amaru_hero.png and got 404.
One-line addition copies web/assets/ into the existing /app/static/
location so the serve.py static mount at /assets/ resolves.
Signed-off-by: Stephen P. Lutar Jr. <stephenlutar2@gmail.com>
- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -24,6 +24,7 @@ COPY sidecar/src/amaru /app/amaru
|
|
| 24 |
# Static front-end: the amaru memory-cortex operator surface (single page).
|
| 25 |
RUN mkdir -p /app/static/assets
|
| 26 |
COPY web/index.html /app/static/index.html
|
|
|
|
| 27 |
|
| 28 |
COPY serve.py /app/serve.py
|
| 29 |
|
|
|
|
| 24 |
# Static front-end: the amaru memory-cortex operator surface (single page).
|
| 25 |
RUN mkdir -p /app/static/assets
|
| 26 |
COPY web/index.html /app/static/index.html
|
| 27 |
+
COPY web/assets/ /app/static/assets/
|
| 28 |
|
| 29 |
COPY serve.py /app/serve.py
|
| 30 |
|