mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-22 23:18:05 +03:00
21 lines
354 B
Docker
21 lines
354 B
Docker
FROM node:16-alpine as base
|
|
|
|
RUN npm install --silent -g pnpm@7.20.0
|
|
|
|
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"] |