2019-08-22 00:09:46 -04:00
|
|
|
#!/bin/sh
|
2020-11-23 10:59:06 -05:00
|
|
|
|
|
|
|
# This script uses a docker file that builds with musl, and runs on linux alpine
|
|
|
|
# Its a bit slower for development than the volume mount.
|
|
|
|
|
2020-06-12 09:29:50 -04:00
|
|
|
set -e
|
|
|
|
|
2020-10-23 13:14:30 -04:00
|
|
|
mkdir -p volumes/pictrs
|
2020-08-31 14:39:01 -04:00
|
|
|
sudo chown -R 991:991 volumes/pictrs
|
2022-04-11 19:03:31 -04:00
|
|
|
sudo docker-compose down
|
2020-09-02 16:41:49 -04:00
|
|
|
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-dev:latest
|
2021-04-08 10:33:58 -04:00
|
|
|
sudo docker-compose pull --ignore-pull-failures || true
|
2020-09-02 16:41:49 -04:00
|
|
|
sudo docker-compose up -d
|