mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 15:39:11 +00:00
Adding in a more reliable docker dev build. (The other wouldn't use buildkit).
This commit is contained in:
parent
e3140235de
commit
8015f560d6
4
docker/dev/docker-compose.yml
vendored
4
docker/dev/docker-compose.yml
vendored
|
@ -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
|
||||||
|
|
5
docker/dev/docker_update.sh
vendored
5
docker/dev/docker_update.sh
vendored
|
@ -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 a new issue