All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 54s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
12 lines
629 B
Docker
12 lines
629 B
Docker
FROM denoland/deno:bin-2.9.7 AS deno
|
|
FROM mcr.microsoft.com/devcontainers/typescript-node:26
|
|
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
|