lemmy/docker/dev/docker_update.sh

13 lines
372 B
Bash
Raw Permalink Normal View History

2019-08-22 04:09:46 +00: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 13:29:50 +00:00
set -e
mkdir -p volumes/pictrs
2020-08-31 18:39:01 +00:00
sudo chown -R 991:991 volumes/pictrs
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-dev:latest
sudo docker-compose pull --ignore-pull-failures || true
sudo docker-compose up -d