Dockerfile

This commit is contained in:
Ramón Vásquez 2025-10-29 15:40:52 -03:00
parent 4038adf14d
commit 8c779e180c
3 changed files with 9 additions and 12 deletions

13
Jenkinsfile vendored
View file

@ -2,17 +2,10 @@ pipeline {
agent any
stages {
stage('Install Python') {
stage('Build') {
steps {
echo 'Installing Python...'
sh 'apt-get update && apt-get install -y python3 python3-pip'
}
}
stage('Test') {
steps {
echo 'Running tests...'
sh 'python3 test.py'
echo 'Building...'
sh 'docker build -t my-python-app .'
}
}
}