forked from Yooooomi/your_spotify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.client
More file actions
27 lines (18 loc) · 814 Bytes
/
Dockerfile.client
File metadata and controls
27 lines (18 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM node:25-alpine AS builder
WORKDIR /app
ENV MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify
RUN apk add python3 gcc g++ make cmake
RUN npm install -g pnpm
COPY pnpm-lock.yaml pnpm-lock.yaml
COPY package.json package.json
COPY pnpm-workspace.yaml pnpm-workspace.yaml
COPY apps/dev/package.json apps/dev/package.json
COPY apps/dev/tsconfig.json apps/dev/tsconfig.json
COPY apps/client/package.json apps/client/package.json
COPY apps/client/tsconfig.json apps/client/tsconfig.json
COPY apps/client/rsbuild.config.ts apps/client/rsbuild.config.ts
RUN CI=true pnpm install --frozen-lockfile
COPY apps/client/public apps/client/public
COPY apps/client/scripts apps/client/scripts
COPY apps/client/src apps/client/src
ENTRYPOINT [ "sh", "/app/apps/client/scripts/run/run_dev.sh" ]