Compare commits

..

3 Commits

Author SHA1 Message Date
jose-rZM
9e2e5d41eb Prevent creation of pycache directory
All checks were successful
CD/pipeline/head This commit looks good
2025-12-23 17:34:06 +01:00
jose-rZM
306b2297a9 Change jenkins url 2025-12-23 17:33:48 +01:00
jose-rZM
50dad72782 Change port 2025-12-23 17:33:30 +01:00
4 changed files with 9 additions and 4 deletions

View File

@@ -94,8 +94,8 @@ pipeline {
}
agent any
environment {
JENKINS_BASE_URL = 'http://jenkins:8080'
JENKINS_JOB_NAME = 'Espetos'
JENKINS_BASE_URL = 'https://openbokeron.org/jenkins'
JENKINS_JOB_NAME = 'TallerCiCd'
}
steps {
withCredentials([

View File

@@ -41,6 +41,11 @@ pipeline {
args '-u root'
}
}
environment {
PYTHONDONTWRITEBYTECODE = 1
}
steps {
dir('backend') {
sh '''

View File

@@ -28,7 +28,7 @@ services:
context: ./frontend
image: cafeteria-frontend:${FRONTEND_TAG}
ports:
- "80:80"
- "8081:8081"
depends_on:
backend:
condition: service_healthy

View File

@@ -8,5 +8,5 @@ RUN npm run build
FROM nginx:1.27-alpine AS final
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
EXPOSE 8081
CMD ["nginx", "-g", "daemon off;"]