This commit is contained in:
Cynthia Foxwell 2025-08-23 15:35:31 -06:00
parent d57e50d604
commit 8a91911d68
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk
3 changed files with 324 additions and 128 deletions

View file

@ -1,12 +1,11 @@
FROM node:lts-alpine AS base
FROM node:lts-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
COPY . /app
WORKDIR /app
RUN apk add --no-cache ffmpeg python3 py3-pip build-base
RUN pip3 install --no-cache --upgrade --break-system-packages pip setuptools
RUN apt install ffmpeg
FROM base AS deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install -g typescript