2022-12-19 16:07:40 +01:00
|
|
|
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
|
|
|
|
ARG VARIANT=16
|
|
|
|
FROM mcr.microsoft.com/devcontainers/javascript-node:0-${VARIANT} as base
|
|
|
|
|
|
|
|
# Setup the node environment
|
2022-05-15 22:24:24 +02:00
|
|
|
ENV NODE_ENV=development
|
2022-12-19 16:07:40 +01:00
|
|
|
|
|
|
|
# Install additional OS packages.
|
|
|
|
RUN apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
|
|
|
|
curl tzdata ffmpeg && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
# Move tone executable to appropriate directory
|
2023-04-19 23:40:46 +02:00
|
|
|
COPY --from=sandreas/tone:v0.1.5 /usr/local/bin/tone /usr/local/bin/
|