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