changed docker configs

This commit is contained in:
2025-07-01 16:11:32 +02:00
parent 218ec7a841
commit 7356342d0b
3 changed files with 13 additions and 7 deletions

View File

@@ -1,18 +1,23 @@
// static variables and imports
import express from "express";
// temprary disabled import
/*
import {
createUser,
deleteUser,
getAllUsers,
loginUser,
updateUser,
} from "../user-mgmt_backend/database.js";
} from "./user-mgmt_backend/database.js";
*/
import dotenv from "dotenv";
import path from "path";
import { fileURLToPath } from "url";
const app = express();
dotenv.config();
const port = 40001;
const port = 4001;
app.use(express.json());
app.use(express.static("public"));