Compare commits
No commits in common. "d5fa17151f765a0f55f3287387851355993c0243" and "7022d491ce1407cb94236cf99dae43e72bd06f7b" have entirely different histories.
d5fa17151f
...
7022d491ce
|
|
@ -7,8 +7,6 @@ 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 \
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,13 @@ version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
vendaweb-api:
|
vendaweb-api:
|
||||||
image: 10.1.1.124:8082/library/vendaweb-api:latest
|
image: http://10.1.1.124:8082/library/vendaweb-api:latest
|
||||||
command: npm run start:prod
|
|
||||||
ports:
|
ports:
|
||||||
- "8066:8065"
|
- "8065:8065"
|
||||||
networks:
|
networks:
|
||||||
- juru-network
|
- juru-network
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 4
|
||||||
update_config:
|
update_config:
|
||||||
order: start-first
|
order: start-first
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
|
|
|
||||||
|
|
@ -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(8066);
|
await app.listen(8065);
|
||||||
}
|
}
|
||||||
bootstrap();
|
bootstrap();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue