17 lines
329 B
Bash
17 lines
329 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Preparing..."
|
|
|
|
sudo mkdir -p /mnt/data/mongodb
|
|
sudo chmod 777 /mnt/data/mongodb
|
|
|
|
echo "Building the Frontend..."
|
|
docker build --no-cache -t expense-tracker-frontend:latest ./Frontend
|
|
|
|
echo "Building the Backend..."
|
|
docker build --no-cache -t expense-tracker-backend:latest ./Backend
|
|
|
|
echo "Completed!"
|