dev/start.ts was checked by hand: musique starting alone on a fresh database, an unknown name refused, a taken port stopping both servers, and Ctrl+C or SIGTERM leaving no server behind. The compose project couldn't be run here (no Docker in the workspace): its YAML parses and resolves as intended, but it is untested; tsc, eslint, deno check, deno fmt, deno lint and doc:lint, which now covers dev/, are clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
629 B
Docker
12 lines
629 B
Docker
FROM denoland/deno:bin-2.9.0 AS deno
|
|
FROM mcr.microsoft.com/devcontainers/typescript-node:20
|
|
COPY --from=deno /deno /usr/local/bin/deno
|
|
# The API draws thumbnails and waveforms with ffmpeg, in the workspace and in
|
|
# the instances' services alike (compose.yaml), which don't get the features.
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends ffmpeg \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
# The services share Deno's cache through a volume (compose.yaml), which Docker
|
|
# creates owned as this directory is, so it must exist and be node's.
|
|
RUN mkdir -p /home/node/.cache/deno && chown -R node:node /home/node/.cache
|