Dockerfile inital
This commit is contained in:
parent
72fb6fbc20
commit
3907482b06
4 changed files with 39 additions and 9 deletions
|
@ -22,7 +22,7 @@ const app = express();
|
|||
import router from "./routes/index";
|
||||
import { PermissionObject } from "./type/permissionTypes";
|
||||
router(app);
|
||||
app.listen(SERVER_PORT, () => {
|
||||
app.listen(process.env.NODE_ENV ? SERVER_PORT : 5000, () => {
|
||||
console.log(`listening on *:${SERVER_PORT}`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue