Merge pull request 'Dockerfile inital' (#17) from #9-create-docker-image into main
Reviewed-on: Ehrenamt/member-administration-server#17
This commit is contained in:
commit
1d73a15227
4 changed files with 39 additions and 9 deletions
|
@ -23,7 +23,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