Skip to content

Commit 89f7d93

Browse files
committed
chore: fix docker build install patch problem
1 parent 7795cf6 commit 89f7d93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG VERSION
77
WORKDIR /app/tailchat
88

99
# Install dependencies
10-
RUN npm install -g pnpm@8.2.0
10+
RUN npm install -g pnpm@8.3.1
1111
RUN npm install -g tailchat-cli@latest
1212

1313
# Add mc for minio
@@ -22,15 +22,15 @@ COPY ./server/package.json ./server/package.json
2222
COPY ./server/tsconfig.json ./server/tsconfig.json
2323
COPY ./package.json ./pnpm-lock.yaml ./pnpm-workspace.yaml ./.npmrc ./
2424
COPY ./patches ./patches
25-
RUN pnpm install
25+
RUN pnpm install --frozen-lockfile
2626

2727
# Copy client
2828
COPY ./client ./client
29-
RUN pnpm install
29+
RUN pnpm install --frozen-lockfile
3030

3131
# Copy all source
3232
COPY . .
33-
RUN pnpm install
33+
RUN pnpm install --frozen-lockfile
3434

3535
# Build and cleanup (client and server)
3636
ENV NODE_ENV=production

0 commit comments

Comments
 (0)