mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
attempt docker build with pnpm
This commit is contained in:
22
Dockerfile
22
Dockerfile
@ -1,16 +1,26 @@
|
||||
FROM mcr.microsoft.com/playwright:focal
|
||||
FROM mcr.microsoft.com/playwright:focal AS build
|
||||
|
||||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./package*.json .
|
||||
COPY .npmrc package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN npm ci
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN pnpm run build
|
||||
|
||||
FROM mcr.microsoft.com/playwright:focal AS deploy
|
||||
|
||||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app/dist ./dist
|
||||
|
||||
# Expose App
|
||||
EXPOSE 3000
|
||||
EXPOSE 3100
|
||||
|
||||
CMD [ "npm", "start" ]
|
||||
CMD [ "pnpm", "start" ]
|
||||
47276
package-lock.json
generated
47276
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -112,7 +112,7 @@
|
||||
"@nrwl/eslint-plugin-nx": "13.8.3",
|
||||
"@nrwl/jest": "13.8.3",
|
||||
"@nrwl/linter": "13.8.3",
|
||||
"@nrwl/nest": "^13.8.3",
|
||||
"@nrwl/nest": "^13.8.4",
|
||||
"@nrwl/node": "13.8.3",
|
||||
"@nrwl/nx-cloud": "latest",
|
||||
"@nrwl/react": "13.8.3",
|
||||
@ -143,12 +143,10 @@
|
||||
"babel-jest": "27.5.1",
|
||||
"babel-loader": "^8.2.3",
|
||||
"concurrently": "^7.0.0",
|
||||
"csstype": "^3.0.10",
|
||||
"cypress": "^9.5.1",
|
||||
"csstype": "^3.0.11",
|
||||
"eslint": "~8.10.0",
|
||||
"eslint-config-next": "12.1.0",
|
||||
"eslint-config-prettier": "8.4.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-jsx-a11y": "6.5.1",
|
||||
"eslint-plugin-react": "7.29.2",
|
||||
@ -164,6 +162,6 @@
|
||||
"sass": "^1.49.9",
|
||||
"ts-jest": "27.1.3",
|
||||
"typescript": "~4.5.5",
|
||||
"webpack": "^5.69.1"
|
||||
"webpack": "^5.70.0"
|
||||
}
|
||||
}
|
||||
|
||||
14350
pnpm-lock.yaml
generated
Normal file
14350
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user