somre more scripting work

This commit is contained in:
Cipher Vance
2025-11-22 23:30:16 -06:00
parent e8bee6fa33
commit 155b5a0b2e

View File

@@ -17,6 +17,7 @@ RUN_CONTAINER=false
CONTAINER_NAME="rideaware-api" CONTAINER_NAME="rideaware-api"
HOST_PORT="5000" HOST_PORT="5000"
CONTAINER_PORT="5000" CONTAINER_PORT="5000"
DOCKERFILE="Dockerfile"
# Help function # Help function
show_help() { show_help() {
@@ -136,9 +137,10 @@ echo -e "${BLUE}╔════════════════════
echo -e "${BLUE}║ Building Podman Image ║${NC}" echo -e "${BLUE}║ Building Podman Image ║${NC}"
echo -e "${BLUE}╚════════════════════════════════════════╝${NC}" echo -e "${BLUE}╚════════════════════════════════════════╝${NC}"
echo -e "${YELLOW}Image: $FULL_IMAGE${NC}" echo -e "${YELLOW}Image: $FULL_IMAGE${NC}"
echo -e "${YELLOW}Dockerfile: $DOCKERFILE${NC}"
echo "" echo ""
if ! podman build $BUILD_ARGS -f Containerfile -t "$FULL_IMAGE" .; then if ! podman build $BUILD_ARGS -f "$DOCKERFILE" -t "$FULL_IMAGE" .; then
echo -e "${RED}✗ Build failed${NC}" echo -e "${RED}✗ Build failed${NC}"
exit 1 exit 1
fi fi