docker updated

This commit is contained in:
2025-06-11 10:04:34 +05:30
parent c3d7e0f20b
commit 95050b2380
3 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ USER appuser
COPY . .
# Expose the port that the application listens on.
EXPOSE 3503
EXPOSE 4999
# Run the application.

View File

@@ -12,6 +12,7 @@ export const SignupController = async (
): Promise<void> => {
try {
const { userName, Email, Password } = req.body;
console.log('req.body: ', req.body);
if (!userName || !Email || !Password) {
res.status(400).json({
message: "All fields are required",
@@ -19,6 +20,7 @@ export const SignupController = async (
return;
}
const result = await AuthSignup(req.body);
console.log('result: ', result);
switch (result.status) {
case "User already exists":

View File

@@ -26,7 +26,7 @@ USER root
COPY . .
# Expose the port that the application listens on.
EXPOSE 1059
EXPOSE 7999
# Run the application.