lemmy/docker/dev/docker_update.sh

14 lines
397 B
Bash
Raw Normal View History

2019-08-22 00:09:46 -04:00
#!/bin/sh
# 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
mkdir -p volumes/pictrs
2020-08-31 14:39:01 -04:00
sudo chown -R 991:991 volumes/pictrs
sudo docker-compose down
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-dev:latest
sudo docker-compose pull --ignore-pull-failures || true
sudo docker-compose up -d