Compare commits

..

2 Commits

Author SHA1 Message Date
joelson d5fa17151f fix: update Dockerfile CMD and change server port in main.ts
Deploy vendaweb-api / build-and-push-deploy (push) Successful in 50s Details
2026-01-05 13:29:57 -03:00
joelson 937b3f37ab fix: update vendaweb-api configuration in docker-compose.yml 2026-01-05 13:29:49 -03:00
3 changed files with 7 additions and 4 deletions

View File

@ -7,6 +7,8 @@ RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
CMD ["npm", "run", "start:prod"]
FROM node:16-bullseye-slim
# Instalar dependências do Oracle
RUN apt-get update && apt-get install -y \

View File

@ -2,13 +2,14 @@ version: '3.8'
services:
vendaweb-api:
image: http://10.1.1.124:8082/library/vendaweb-api:latest
image: 10.1.1.124:8082/library/vendaweb-api:latest
command: npm run start:prod
ports:
- "8065:8065"
- "8066:8065"
networks:
- juru-network
deploy:
replicas: 4
replicas: 1
update_config:
order: start-first
parallelism: 1

View File

@ -20,6 +20,6 @@ async function bootstrap() {
.build();
const document = SwaggerModule.createDocument(app, options);
SwaggerModule.setup("docs", app, document);
await app.listen(8065);
await app.listen(8066);
}
bootstrap();