zkt25/prepare-app.sh

16 lines
258 B
Bash

#!/bin/bash
set -e
echo "Start of preparation"
# Create the volume.
docker volume create pgdata
# Create the Docker network.
docker network create app_network
# Create the Flask application
docker build -t flask_app_image ./app
echo "Preparation done"