mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 21:30:21 +03:00
reduce Docker build time on slow cxons
This commit is contained in:
parent
174ea86bce
commit
aa36b84df1
|
@ -19,7 +19,7 @@ RUN apt-get install nginx -y
|
|||
WORKDIR /build
|
||||
RUN npm install -g yarn --loglevel=warn
|
||||
COPY . /build
|
||||
RUN yarn install
|
||||
RUN yarn install --frozen-lockfile --ignore-optional --ignore-scripts
|
||||
RUN npm run bundle
|
||||
|
||||
# copy files to the nginx folder
|
||||
|
|
|
@ -23,8 +23,12 @@
|
|||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"optionalDependencies": {
|
||||
"@cypress/webpack-preprocessor": "^1.1.3",
|
||||
"cypress": "~1.4.1",
|
||||
"puppeteer": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/dompurify": "^0.0.31",
|
||||
"@types/enzyme": "^3.1.8",
|
||||
"@types/enzyme-to-json": "^1.5.0",
|
||||
|
@ -45,7 +49,6 @@
|
|||
"conventional-changelog-cli": "^1.3.5",
|
||||
"core-js": "^2.5.1",
|
||||
"css-loader": "^0.28.7",
|
||||
"cypress": "~1.4.1",
|
||||
"enzyme": "^3.1.1",
|
||||
"enzyme-adapter-react-16": "^1.0.4",
|
||||
"enzyme-to-json": "^3.2.2",
|
||||
|
@ -55,7 +58,6 @@
|
|||
"mobx-react-devtools": "^4.2.15",
|
||||
"prettier": "^1.5.3",
|
||||
"prettier-eslint": "^8.8.1",
|
||||
"puppeteer": "^1.0.0",
|
||||
"raf": "^3.4.0",
|
||||
"react": "^16.2.0",
|
||||
"react-dev-utils": "^5.0.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user