Initial Commit
Some checks are pending
Build Docker Image / docker (push) Waiting to run
Test / test (push) Waiting to run

This commit is contained in:
Lillith Rose (Device: Lucia) 2025-06-08 14:33:19 -04:00
commit fdeba8fd41
17 changed files with 2290 additions and 0 deletions

26
Dockerfile Normal file
View file

@ -0,0 +1,26 @@
FROM node:22.13.1-alpine
ENV NODE_ENV=development
RUN npm install -g pnpm
WORKDIR /src
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
RUN pnpm prune --prod
FROM node:22.13.1-alpine
RUN apk add ffmpeg
ENV NODE_ENV=production
WORKDIR /dist
COPY --from=0 /src/dist/* ./
CMD ["node", "."]