fix: update Dockerfile CMD and change server port in main.ts
Deploy vendaweb-api / build-and-push-deploy (push) Successful in 50s
Details
Deploy vendaweb-api / build-and-push-deploy (push) Successful in 50s
Details
This commit is contained in:
parent
937b3f37ab
commit
d5fa17151f
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue