12 lines
261 B
Bash
12 lines
261 B
Bash
#!/bin/bash
|
|
# filepath: prepare-app.sh
|
|
|
|
# Use Minikube's Docker daemon
|
|
eval $(minikube docker-env)
|
|
|
|
# Build Docker image for the Node.js app
|
|
docker build -t contact-app:latest .
|
|
|
|
# Create local directory for MongoDB data if not exists
|
|
sudo mkdir -p /data/mongo
|