lemmy/docker/federation/run-federation-test.bash

16 lines
249 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" = "-yarn" ]; then
pushd ../../ui/ || exit
yarn build
popd || exit
fi
pushd ../../server/ || exit
cargo build
popd || exit
sudo docker build ../../ -f Dockerfile -t lemmy-federation:latest
sudo docker-compose up