-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild-all.sh
More file actions
executable file
·27 lines (20 loc) · 1.04 KB
/
build-all.sh
File metadata and controls
executable file
·27 lines (20 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Build script for multiple Docker image variants
echo "Building Docker images for No-Code Classification Toolkit..."
# Build TensorFlow-only image
echo "Building TensorFlow-only image..."
docker build -f Dockerfile.tensorflow -t ghcr.io/animikhaich/zero-code-classifier:tensorflow .
# Build PyTorch-only image
echo "Building PyTorch-only image..."
docker build -f Dockerfile.pytorch -t ghcr.io/animikhaich/zero-code-classifier:pytorch .
# Build both frameworks image
echo "Building both frameworks image..."
docker build -f Dockerfile.both -t ghcr.io/animikhaich/zero-code-classifier:both .
# Also tag the TensorFlow image as the default for backward compatibility
echo "Tagging TensorFlow image as default..."
docker tag ghcr.io/animikhaich/zero-code-classifier:tensorflow ghcr.io/animikhaich/zero-code-classifier:latest
echo "All images built successfully!"
echo ""
echo "Available images:"
echo " - ghcr.io/animikhaich/zero-code-classifier:tensorflow (TensorFlow only)"
echo " - ghcr.io/animikhaich/zero-code-classifier:pytorch (PyTorch only)"