fix: ensure config directory exists

- Create config directory in Dockerfile
- Use explicit volume bind mount syntax
- Fix config.yml mounting issue
This commit is contained in:
2025-11-05 09:28:49 -08:00
parent fbd72c7748
commit b23846cbcf
2 changed files with 9 additions and 6 deletions

View File

@@ -1,4 +1,7 @@
FROM registry:2 AS base
FROM registry:2
# Use Alpine's apk package manager to install apache2-utils
RUN apk --no-cache add apache2-utils
RUN apk --no-cache add apache2-utils
# Create config directory
RUN mkdir -p /etc/docker/registry/