- Fix config.yml format - Simplify Dockerfile with direct config copy - Remove unnecessary volume mounts - Tested working locally
7 lines
211 B
Docker
7 lines
211 B
Docker
FROM registry:2
|
|
|
|
# Use Alpine's apk package manager to install apache2-utils
|
|
RUN apk --no-cache add apache2-utils
|
|
|
|
# Create config directory and add default config
|
|
COPY config.yml /etc/docker/registry/config.yml |