]> Untitled Git - lemmy.git/commitdiff
Adding in a more reliable docker dev build. (The other wouldn't use buildkit).
authorDessalines <tyhou13@gmx.com>
Wed, 2 Sep 2020 20:41:49 +0000 (15:41 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 2 Sep 2020 20:41:49 +0000 (15:41 -0500)
docker/dev/docker-compose.yml
docker/dev/docker_update.sh

index 41902fe32bfaa05d6adf6903efdce730253a0531..bd303bc813b1b307e0b611cc87318f8ffafe89da 100644 (file)
@@ -3,9 +3,7 @@ version: '3.3'
 services:
 
   lemmy:
-    build: 
-      context: ../../
-      dockerfile: docker/dev/Dockerfile
+    image: lemmy-dev:latest
     ports:
       - "8536:8536"
     restart: always
index 26de36c864e6109b13098fb21b10fdc72ba6cd10..7cf5f5dbc56f5063e4fc6e251a16908d03e11582 100755 (executable)
@@ -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