switch from slim to alpine for ffmpeg
This commit is contained in:
parent
47102f1370
commit
a6d38d180c
1 changed files with 3 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
|||
FROM node:lts-slim AS base
|
||||
FROM node:lts-alpine AS base
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add ffmpeg
|
||||
|
||||
FROM base AS deps
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install -g typescript
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue