Explicitly expose backend ports in Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-06-01 16:16:24 +02:00
parent 466b9ea8db
commit 8bff6b3fc3
3 changed files with 4 additions and 2 deletions

View File

@@ -8,5 +8,7 @@ RUN npm run build
FROM node:alpine
WORKDIR /app
COPY --from=builder /app ./
EXPOSE 3000
CMD ["npm", "run", "start:prod"]

View File

@@ -3,6 +3,6 @@ import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3500);
await app.listen(3000);
}
bootstrap();