mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-09 20:12:26 +10:00
perf(app): working docker build stage, with github actions ci to push image
This commit is contained in:
@ -6,13 +6,13 @@ WORKDIR /app
|
||||
|
||||
COPY .npmrc package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm install --ignore-scripts --frozen-lockfile
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm run build
|
||||
RUN pnpm build
|
||||
|
||||
FROM playwright/chromium
|
||||
FROM mcr.microsoft.com/playwright:focal AS production
|
||||
|
||||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
||||
|
||||
@ -22,7 +22,7 @@ COPY --from=builder /app/package.json .
|
||||
COPY --from=builder /app/pnpm-lock.yaml .
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
RUN pnpm install --ignore-scripts --frozen-lockfile --prod
|
||||
RUN pnpm install --frozen-lockfile --prod
|
||||
|
||||
# Expose App
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user