This commit is contained in:
aminecmi 2022-07-19 21:12:39 +02:00
parent 1b533e63aa
commit d1982623ed
3 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,6 @@ steps:
- name: build
image: node:14.20.0-alpine3.16
commands:
- yarn install
- yarn global add @vue/cli-service
- yarn build
- npm install
- npm run build
- vue-cli-service build --mode production

6
docker/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:14
RUN npm install node-sass
RUN npm install @vue/cli-service
ENTRYPOINT ["tail", "-f", "/dev/null"]

View File

@ -5,6 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build:prod": "vue-cli-service build --mode production",
"lint": "vue-cli-service lint"
},
"dependencies": {