mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 16:34:01 +00:00
16 lines
No EOL
249 B
Bash
Executable file
Vendored
16 lines
No EOL
249 B
Bash
Executable file
Vendored
#!/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 |