fix: ensure public directory exists in container
This commit is contained in:
parent
aec55f02c8
commit
90ca68e939
2 changed files with 1 additions and 1 deletions
|
|
@ -4,10 +4,10 @@ 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 public/videos
|
||||||
|
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package.json pnpm-lock.yaml* ./
|
COPY package.json pnpm-lock.yaml* ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
|
||||||
0
public/.gitkeep
Normal file
0
public/.gitkeep
Normal file
Loading…
Add table
Reference in a new issue