mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-11 06:55:01 +00:00
12 lines
354 B
Bash
12 lines
354 B
Bash
|
#!/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
|
||
|
sudo docker build ../../ --file ../dev/volume_mount.dockerfile -t lemmy-dev:latest
|
||
|
sudo docker-compose up -d
|