backend: initi backend

This commit is contained in:
tylen
2025-09-09 00:37:15 +03:00
parent fb26267244
commit 9a330f3743
7 changed files with 121 additions and 0 deletions

13
backend/run.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Generate a random name for the container using uuidgen
container_name=$(uuidgen)
# Build the Docker image with your project code and unit tests
docker build -t nyi-backend -f Dockerfile .
# Run the Docker container with the unit tests and attach the output
docker run --tty --rm --name "$container_name" -p 2027:5000 nyi-backend
# Exit the script with the exit code of the container
exit $?