diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..e0471c6 --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +# Use this script to build docker images. + +DOCKER=docker + + +$DOCKER build -t maxking/mailman-core core/ +$DOCKER build -t maxking/mailman-web web/ diff --git a/docker-compose.yaml b/docker-compose.yaml index 895b495..61a87d7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,8 +2,6 @@ version: '2' services: mailman-core: - build: - context: ./core image: maxking/mailman-core:latest container_name: mailman-core hostname: mailman-core @@ -23,8 +21,6 @@ services: ipv4_address: 172.19.199.2 mailman-web: - build: - context: ./web image: maxking/mailman-web:latest container_name: mailman-web hostname: mailman-web