Dev 0.2.1 #30

Merged
LukeGus merged 47 commits from dev-0.2.1 into main 2025-03-24 03:17:56 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit c910ecced8 - Show all commits

View File

@@ -14,7 +14,7 @@ RUN npm install
COPY src/backend/ ./src/backend/
# Stage 3: Final production image
FROM mongo:5
FROM mongo:4.4
# Install Node.js
RUN apt-get update && apt-get install -y \
curl \

View File

@@ -7,7 +7,7 @@ mongod --fork --dbpath $MONGODB_DATA_DIR --logpath $MONGODB_LOG_DIR/mongodb.log
# Wait for MongoDB to be ready
echo "Waiting for MongoDB to start..."
until mongosh --eval "print(\"waited for connection\")" > /dev/null 2>&1; do
until mongo --eval "print(\"waited for connection\")" > /dev/null 2>&1; do
sleep 0.5
done
echo "MongoDB has started"