#!/bin/bash
set -e
pushd ../../ui/ || exit
yarn build
popd || exit
pushd ../../server/ || exit
cargo build
sudo docker build ../../ -f Dockerfile -t lemmy-federation-test:latest
sudo docker-compose up