Compare commits
3 Commits
f902548d57
...
9e2e5d41eb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e2e5d41eb | ||
|
|
306b2297a9 | ||
|
|
50dad72782 |
@@ -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([
|
||||
|
||||
@@ -41,6 +41,11 @@ pipeline {
|
||||
args '-u root'
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
}
|
||||
|
||||
steps {
|
||||
dir('backend') {
|
||||
sh '''
|
||||
|
||||
@@ -28,7 +28,7 @@ services:
|
||||
context: ./frontend
|
||||
image: cafeteria-frontend:${FRONTEND_TAG}
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8081:8081"
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -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;"]
|
||||
|
||||
Reference in New Issue
Block a user