From 893f5b50ef7fddcff138443c91b28895d447df09 Mon Sep 17 00:00:00 2001 From: renzaspiras Date: Wed, 5 Nov 2025 09:26:12 -0800 Subject: [PATCH] fix: rebuild without cache and simplify Dockerfile - Force no-cache build in docker-compose - Simplify Dockerfile to use Alpine package manager - Clean up configuration --- Dockerfile | 4 ++-- docker-compose.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac7abf3..9698075 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM registry:2 -# The registry:2 image is based on Alpine, so we use apk -RUN apk add --no-cache apache2-utils \ No newline at end of file +# Install apache2-utils using Alpine package manager +RUN apk --no-cache add apache2-utils \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5b8b33e..f3d7501 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,10 @@ version: '3.8' services: registry: - build: . + build: + context: . + dockerfile: Dockerfile + no-cache: true container_name: registry restart: unless-stopped expose: