mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 16:34:01 +00:00
13 lines
397 B
Bash
Executable file
13 lines
397 B
Bash
Executable file
#!/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.
|
|
|
|
set -e
|
|
|
|
mkdir -p volumes/pictrs
|
|
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
|