mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Copy package.json from webapp/
This will install the dependencies of the webapp/ folder first and then overwrite the package.json to use different scripts. If we would track dependencies in a separate package.json we would have to update it with dependabot. We don't want that because of our precious build server time.
This commit is contained in:
parent
5804b1352c
commit
f3a9996962
@ -14,8 +14,7 @@ WORKDIR $WORKDIR
|
||||
# See: https://github.com/nodejs/docker-node/pull/367#issuecomment-430807898
|
||||
RUN apk --no-cache add git
|
||||
|
||||
COPY maintenance/source/package.json ./package.json
|
||||
COPY maintenance/source/yarn.lock ./yarn.lock
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||
|
||||
COPY assets assets
|
||||
@ -24,11 +23,11 @@ COPY components/Dropdown.vue components/Dropdown.vue
|
||||
COPY layouts/blank.vue layouts/blank.vue
|
||||
COPY locales locales
|
||||
COPY mixins mixins
|
||||
COPY plugins/i18n.js plugins/i18n.js
|
||||
COPY plugins/v-tooltip.js plugins/v-tooltip.js
|
||||
COPY plugins/styleguide.js plugins/styleguide.js
|
||||
COPY plugins/i18n.js plugins/v-tooltip.js plugins/styleguide.js plugins/
|
||||
COPY static static
|
||||
COPY nuxt.config.js nuxt.config.js
|
||||
|
||||
# this will also ovewrite the existing package.json
|
||||
COPY maintenance/source ./
|
||||
|
||||
|
||||
|
||||
@ -12,15 +12,5 @@
|
||||
"build": "yarn run nuxt build -c nuxt.config.maintenance.js",
|
||||
"start": "yarn run nuxt start -c nuxt.config.maintenance.js",
|
||||
"generate": "yarn run nuxt generate -c nuxt.config.maintenance.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@human-connection/styleguide": "^0.5.21",
|
||||
"@nuxtjs/style-resources": "^1.0.0",
|
||||
"cookie-universal-nuxt": "^2.0.17",
|
||||
"node-sass": "^4.12.0",
|
||||
"nuxt": "^2.9.2",
|
||||
"sass-loader": "^8.0.0",
|
||||
"v-tooltip": "^2.0.2",
|
||||
"vuex-i18n": "^1.13.1"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user