Re-pin GHCR digest + bake default brand music
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -2,9 +2,13 @@
|
|
| 2 |
# it for HF: HF runs containers as UID 1000 and routes to app_port (7860).
|
| 3 |
# Pinned to a specific digest because HF caches the `:latest` tag and won't
|
| 4 |
# re-pull a new push. Re-pin on each deploy (or query the latest digest).
|
| 5 |
-
FROM ghcr.io/mcanince2/ucus-editor@sha256:
|
| 6 |
|
| 7 |
USER root
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
# HF runs as UID 1000 = the node base image's existing `node` user (/home/node).
|
| 9 |
# Make the data dir + app writable by it. (Whisper model lives in /opt and is
|
| 10 |
# already world-readable, so no per-user cache copy is needed.)
|
|
|
|
| 2 |
# it for HF: HF runs containers as UID 1000 and routes to app_port (7860).
|
| 3 |
# Pinned to a specific digest because HF caches the `:latest` tag and won't
|
| 4 |
# re-pull a new push. Re-pin on each deploy (or query the latest digest).
|
| 5 |
+
FROM ghcr.io/mcanince2/ucus-editor@sha256:3ee1f756e656d9f5cf34e1942508c45cce4da347a9a590304351665f45d8dcd1
|
| 6 |
|
| 7 |
USER root
|
| 8 |
+
# Bake the licensed default music into the image (shipped only here, not in the
|
| 9 |
+
# public Git repo). /api/brand-music serves it from /app/public → the seed picks
|
| 10 |
+
# it as the default track.
|
| 11 |
+
COPY brand-music.mp3 /app/public/brand-music.mp3
|
| 12 |
# HF runs as UID 1000 = the node base image's existing `node` user (/home/node).
|
| 13 |
# Make the data dir + app writable by it. (Whisper model lives in /opt and is
|
| 14 |
# already world-readable, so no per-user cache copy is needed.)
|