2020-11-23 10:59:06 -05:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# This script uses a Dockerfile that takes advantage of docker volume mounts,
|
|
|
|
# And runs on an ubuntu image. A little faster for development than the other
|
|
|
|
# script
|
|
|
|
|
|
|
|
mkdir -p volumes/pictrs
|
|
|
|
sudo chown -R 991:991 volumes/pictrs
|
2022-04-11 19:03:31 -04:00
|
|
|
sudo docker-compose down
|
2020-11-23 10:59:06 -05:00
|
|
|
sudo docker build ../../ --file ../dev/volume_mount.dockerfile -t lemmy-dev:latest
|
2021-04-08 10:33:58 -04:00
|
|
|
sudo docker-compose pull --ignore-pull-failures || true
|
2021-04-06 08:57:37 -04:00
|
|
|
sudo docker-compose up
|