fix: rebuild without cache and simplify Dockerfile

- Force no-cache build in docker-compose
- Simplify Dockerfile to use Alpine package manager
- Clean up configuration
This commit is contained in:
2025-11-05 09:26:12 -08:00
parent c364c6da30
commit 893f5b50ef
2 changed files with 6 additions and 3 deletions

View File

@@ -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
# Install apache2-utils using Alpine package manager
RUN apk --no-cache add apache2-utils

View File

@@ -2,7 +2,10 @@ version: '3.8'
services:
registry:
build: .
build:
context: .
dockerfile: Dockerfile
no-cache: true
container_name: registry
restart: unless-stopped
expose: