mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04: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:
|
||||
|
||||
lemmy:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: docker/dev/Dockerfile
|
||||
image: lemmy-dev:latest
|
||||
ports:
|
||||
- "8536:8536"
|
||||
restart: always
|
||||
|
5
docker/dev/docker_update.sh
vendored
5
docker/dev/docker_update.sh
vendored
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
export COMPOSE_DOCKER_CLI_BUILD=1
|
||||
export DOCKER_BUILDKIT=1
|
||||
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
Block a user