fix: create required directories in Dockerfile
This commit is contained in:
parent
a85d4e2ee9
commit
7b27845812
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@ FROM node:20-alpine AS base
|
||||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN mkdir -p /app/public/images/thumbnails \
|
||||||
|
/app/public/videos \
|
||||||
|
/app/public/subtitles \
|
||||||
|
/app/public/transcriptions
|
||||||
|
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package.json pnpm-lock.yaml* ./
|
COPY package.json pnpm-lock.yaml* ./
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue