fix: Docker build
This commit is contained in:
@@ -4,6 +4,7 @@ FROM node:16.14.2-alpine3.15 AS deps
|
|||||||
ARG APP_PATH
|
ARG APP_PATH
|
||||||
WORKDIR $APP_PATH
|
WORKDIR $APP_PATH
|
||||||
COPY ./package.json ./yarn.lock ./
|
COPY ./package.json ./yarn.lock ./
|
||||||
|
COPY ./patches ./patches
|
||||||
|
|
||||||
RUN yarn install --no-optional --frozen-lockfile --network-timeout 1000000 && \
|
RUN yarn install --no-optional --frozen-lockfile --network-timeout 1000000 && \
|
||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"dev:watch": "NODE_ENV=development yarn concurrently -n backend,frontend \"yarn dev:backend\" \"yarn vite:dev\"",
|
"dev:watch": "NODE_ENV=development yarn concurrently -n backend,frontend \"yarn dev:backend\" \"yarn vite:dev\"",
|
||||||
"lint": "eslint app server shared plugins",
|
"lint": "eslint app server shared plugins",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"postinstall": "rimraf node_modules/prosemirror-view/dist/index.d.ts && patch-package",
|
"postinstall": "rimraf node_modules/prosemirror-view/dist/index.d.ts && yarn patch-package",
|
||||||
"heroku-postbuild": "yarn build && yarn db:migrate",
|
"heroku-postbuild": "yarn build && yarn db:migrate",
|
||||||
"db:create-migration": "sequelize migration:create",
|
"db:create-migration": "sequelize migration:create",
|
||||||
"db:create": "sequelize db:create",
|
"db:create": "sequelize db:create",
|
||||||
@@ -147,6 +147,7 @@
|
|||||||
"nodemailer": "^6.6.1",
|
"nodemailer": "^6.6.1",
|
||||||
"outline-icons": "^1.46.0",
|
"outline-icons": "^1.46.0",
|
||||||
"oy-vey": "^0.12.0",
|
"oy-vey": "^0.12.0",
|
||||||
|
"patch-package": "^6.5.1",
|
||||||
"passport": "^0.6.0",
|
"passport": "^0.6.0",
|
||||||
"passport-google-oauth2": "^0.2.0",
|
"passport-google-oauth2": "^0.2.0",
|
||||||
"passport-oauth2": "^1.6.1",
|
"passport-oauth2": "^1.6.1",
|
||||||
@@ -337,7 +338,6 @@
|
|||||||
"jest-fetch-mock": "^3.0.3",
|
"jest-fetch-mock": "^3.0.3",
|
||||||
"lint-staged": "^13.1.0",
|
"lint-staged": "^13.1.0",
|
||||||
"nodemon": "^2.0.20",
|
"nodemon": "^2.0.20",
|
||||||
"patch-package": "^6.5.1",
|
|
||||||
"postinstall-postinstall": "^2.1.0",
|
"postinstall-postinstall": "^2.1.0",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"react-refresh": "^0.14.0",
|
"react-refresh": "^0.14.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user