12 lines
298 B
Bash
12 lines
298 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Build the Docker image with the "local/centrer-image-backend" tag
|
||
|
docker build -t local/centrer-image-backend .
|
||
|
|
||
|
# Check if the Docker image was built successfully
|
||
|
if [ $? -eq 0 ]; then
|
||
|
echo "Docker image built successfully."
|
||
|
else
|
||
|
echo "Error: Docker image build failed."
|
||
|
fi
|