Refactor Dockerfile and GitHub Actions workflow for improved build performance. Removed caching for npm installs, disabled BuildKit in the workflow, and streamlined the Docker build command.
This commit is contained in:
1 parent
f585a5e35e
commit
648777c649
2 files changed
+4
-12
No files matched your search
@@ -13,8 +13,8 @@ env:
|
||||
NETWORK_NAME: shared_web_network
|
||||
# Public hostname (Nginx Proxy Manager → this container:3000)
|
||||
PUBLIC_HOST: aut.insaight.net
|
||||
DOCKER_BUILDKIT: "1"
|
||||
COMPOSE_DOCKER_CLI_BUILD: "1"
|
||||
# Self-hosted runner has no docker-buildx; force classic builder
|
||||
DOCKER_BUILDKIT: "0"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -31,11 +31,7 @@ jobs:
|
||||
|| docker network create "$NETWORK_NAME"
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
--progress=plain \
|
||||
-t "$IMAGE_NAME" \
|
||||
.
|
||||
run: docker build -t "$IMAGE_NAME" .
|
||||
|
||||
- name: Restart container
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user