Add dockerfile, small fixes

This commit is contained in:
2024-12-24 18:38:50 +05:30
parent ca8659fdef
commit 88046d6810
5 changed files with 14 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import app from "./server";
const DB_URI = process.env.DB_URI ?? "";
await mongoose.connect(DB_URI);
await app.listen({ port: PORT });
await app.listen({ port: PORT, host: "0.0.0.0" });
})().catch((err) => {
console.log(err);
process.exit(1);