mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Dessalines](/assets/img/avatar_default.png)
* Combine prod and dev docker setups using build-arg - Fixes #2603 * Dont use cache for release build.
15 lines
336 B
Bash
Executable File
15 lines
336 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
sudo docker-compose down
|
|
|
|
sudo docker build ../../ --file ../Dockerfile -t lemmy-federation:latest
|
|
|
|
for Item in alpha beta gamma delta epsilon ; do
|
|
sudo mkdir -p volumes/pictrs_$Item
|
|
sudo chown -R 991:991 volumes/pictrs_$Item
|
|
done
|
|
|
|
#sudo docker-compose pull --ignore-pull-failures || true
|
|
sudo docker-compose up
|