Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceowater committed Aug 11, 2024
1 parent 26cbab1 commit 5130242
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ ENV NODE_ENV=production
ARG BUILD_MODE
ENV MODE=$BUILD_MODE

# Expose ports
ENV PORT=3000
# Expose port
EXPOSE 3000

# Run the application
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"version": "1.0.0",
"description": "",
"author": "pieceowater-dev",
"private": true,
"license": "UNLICENSED",
"license": "MIT",
"scripts": {
"update": "npx npm-check-updates -f @pieceowater-dev/lotof.lib.broadcaster -u && npm install",
"build": "nest build",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function bootstrap() {
const port = configService.get<number>('PORT') || 3000;

await app.startAllMicroservices();
await app.listen(port, '127.0.0.1');
await app.listen(port, '0.0.0.0');
console.log(`Application is running on: ${await app.getUrl()}`);
}
bootstrap();

0 comments on commit 5130242

Please sign in to comment.