mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Nutomic](/assets/img/avatar_default.png)
* publish docker images from main * try with separate step * redo, lots of boilerplate * try to fix syntax * unique step names * fix docker tags, remove cargo-chef * only build dev image on main branch * use `ref` for condition, as `branch` uses the target branch for PRs * consistent indents * fix tag * use lemmy-ui:dev image for `docker/dev` and `docker/federation`
13 lines
407 B
Bash
Executable File
13 lines
407 B
Bash
Executable File
#!/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 pull --ignore-pull-failures || true
|
|
sudo docker-compose up
|