mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-25 08:27:59 +03:00
21 lines
354 B
Docker
21 lines
354 B
Docker
FROM node:20-alpine AS base
|
|
|
|
RUN npm install --silent -g pnpm@8.15.6
|
|
|
|
FROM base AS build
|
|
WORKDIR /app
|
|
|
|
COPY pnpm-lock.yaml .
|
|
COPY patches ./patches
|
|
|
|
RUN pnpm fetch
|
|
|
|
COPY client ./client
|
|
COPY common ./common
|
|
COPY *.json *.yaml ./
|
|
|
|
RUN pnpm --filter tachi-client... --filter . install --offline --frozen-lockfile
|
|
|
|
WORKDIR /app/client
|
|
|
|
CMD ["pnpm", "start"] |