sajjad_talkhabi 3 years ago
commit a78cb30479

@ -0,0 +1,16 @@
FROM node:16.7.0-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN yarn
COPY . .
RUN yarn build
FROM nginx:1.21.1
COPY --from=builder /app/dist /usr/share/nginx/html

25
Jenkinsfile vendored

@ -0,0 +1,25 @@
pipeline {
agent {
node {
label 'willa'
}
}
stages {
stage('build') {
steps {
sh 'docker build -t registry.willaspace.com/willaspace/$IMAGE_NAME:latest .'
}
}
stage('deploy') {
steps {
sh 'cd /apps/$IMAGE_NAME/; docker-compose up -d'
}
}
}
environment {
IMAGE_NAME = 'champya-front'
}
}

@ -1,3 +1,4 @@
const path = require('path');
module.exports = {
transpileDependencies: [
'vuetify'

Loading…
Cancel
Save