Pack spark-control_x86_64.s9pk (55 MB)
- Move models.yaml into image/ so the docker build context is self-contained - Fix manifest: dockerfile=../image/Dockerfile, workdir=../image - Add LICENSE (MIT) and assets/README.md (StartOS marketplace listing) - s9pk validates: id=spark-control, version=0.1.0:0, osVersion=0.4.0-beta.6, sdkVersion=1.3.3 - Image embeds python:3.12-slim + openssh-client + FastAPI app + models.yaml
This commit is contained in:
@@ -10,8 +10,6 @@ COPY app /app/app
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
# models.yaml is mounted in or copied at build via build-context root.
|
||||
# For Docker, build from the repo root: `docker build -f image/Dockerfile .`
|
||||
COPY models.yaml /app/models.yaml
|
||||
|
||||
RUN pip install --no-cache-dir -e .
|
||||
|
||||
Reference in New Issue
Block a user