14 lines
341 B
Bash
14 lines
341 B
Bash
#!/bin/bash
|
|
|
|
# Create Docker image
|
|
echo "Building Docker image: typing-game"
|
|
docker build -t typing-game .
|
|
|
|
# Save Docker image as tar to simulate deployment to remote cluster
|
|
docker save typing-game > typing-game.tar
|
|
|
|
# Dummy command to create persistent volume directory (for demo)
|
|
mkdir -p ./persistent-data
|
|
|
|
echo "Preparation complete."
|