mirror of https://github.com/LemmyNet/lemmy.git
Adding in a more reliable docker dev build. (The other wouldn't use buildkit).
parent
e3140235de
commit
8015f560d6
|
@ -3,9 +3,7 @@ version: '3.3'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
lemmy:
|
lemmy:
|
||||||
build:
|
image: lemmy-dev:latest
|
||||||
context: ../../
|
|
||||||
dockerfile: docker/dev/Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "8536:8536"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export COMPOSE_DOCKER_CLI_BUILD=1
|
|
||||||
export DOCKER_BUILDKIT=1
|
|
||||||
sudo chown -R 991:991 volumes/pictrs
|
sudo chown -R 991:991 volumes/pictrs
|
||||||
sudo docker-compose up -d --no-deps --build
|
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-dev:latest
|
||||||
|
sudo docker-compose up -d
|
||||||
|
|
Loading…
Reference in New Issue