From ab48866ae67ea953cafcd4e699f817e47301c78d Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 11 Nov 2023 23:43:53 +0800 Subject: [PATCH] Update Docker --- compose.yaml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 018a6cb..a40e736 100644 --- a/compose.yaml +++ b/compose.yaml @@ -7,6 +7,9 @@ services: # Host Port : Container Port - 5001:5001 volumes: + # If you want to use private registries, you need to share the auth file with Dockge: + # - /root/.docker/:/root/.docker + # Docker Socket - /var/run/docker.sock:/var/run/docker.sock # Dockge Config diff --git a/package.json b/package.json index 3175afc..e5738fe 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dev:frontend": "cross-env NODE_ENV=development vite --host --config ./frontend/vite.config.ts", "build:frontend": "vite build --config ./frontend/vite.config.ts", "build:docker-base": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/dockge:base -f ./docker/Base.Dockerfile . --push", - "build:docker": "pnpm run build:frontend && docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/dockge:latest -t louislam/dockge:1 -t louislam/dockge:1.0.0 -f ./docker/Dockerfile . --push", + "build:docker": "pnpm run build:frontend && docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/dockge:latest -t louislam/dockge:1 -t louislam/dockge:1.0.0 --target release -f ./docker/Dockerfile . --push", "build:docker-nightly": "pnpm run build:frontend && docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/dockge:nightly --target nightly -f ./docker/Dockerfile . --push", "start-docker": "docker run --rm -p 5001:5001 --name dockge louislam/dockge:latest", "mark-as-nightly": "tsx ./extra/mark-as-nightly.ts"