Added Dockerfile

This commit is contained in:
2022-10-31 02:05:05 +03:00
parent a7d519ccb9
commit 091d6c8d46
4 changed files with 19 additions and 3 deletions

View File

@@ -219,5 +219,10 @@ const client = new MongoClient(process.env.URI, { useUnifiedTopology: true });
}
});
app.listen(process.env.PORT, () => console.log(`Server started on ${process.env.PORT}`));
app.listen(
3000,
'0.0.0.0',
511,
() => console.log(`Server started on port ${3000}`),
);
})();