mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
update Dockerfile
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
FROM node:lts-alpine AS base
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache g++ git curl make python3 \
|
||||
&& curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@ RUN apt-get update \
|
||||
COPY --from=builder /app/package.json /app/pnpm-*.yaml /app/turbo.json ./
|
||||
COPY --from=builder /app/server/package.json ./server/package.json
|
||||
|
||||
RUN npx playwright install --with-deps chromium
|
||||
RUN pnpm dlx playwright install --with-deps chromium
|
||||
RUN pnpm install --filter server --prod --frozen-lockfile --workspace-root
|
||||
|
||||
COPY --from=builder /app/server/dist ./server/dist
|
||||
|
||||
Reference in New Issue
Block a user