what if
This commit is contained in:
parent
d57e50d604
commit
8a91911d68
3 changed files with 324 additions and 128 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue