fix: update Dockerfile CMD and change server port in main.ts
Deploy vendaweb-api / build-and-push-deploy (push) Successful in 50s Details

This commit is contained in:
joelson 2026-01-05 13:29:57 -03:00
parent 937b3f37ab
commit d5fa17151f
2 changed files with 3 additions and 1 deletions

View File

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

View File

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