2019-08-22 04:09:46 +00:00
|
|
|
#!/bin/sh
|
2020-11-23 15:59:06 +00: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 13:29:50 +00:00
|
|
|
set -e
|
|
|
|
|
2020-10-23 17:14:30 +00:00
|
|
|
mkdir -p volumes/pictrs
|
2020-08-31 18:39:01 +00:00
|
|
|
sudo chown -R 991:991 volumes/pictrs
|
2022-04-11 23:03:31 +00:00
|
|
|
sudo docker-compose down
|
2020-09-02 20:41:49 +00:00
|
|
|
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-dev:latest
|
2021-04-08 14:33:58 +00:00
|
|
|
sudo docker-compose pull --ignore-pull-failures || true
|
2020-09-02 20:41:49 +00:00
|
|
|
sudo docker-compose up -d
|