diff --git a/CHANGELOG.md b/CHANGELOG.md index 35ca4ae7..ab54a485 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Docker: Fix `/config` permissions when not using bind-mount for the volume. + ## [2.4.1] - 2022-08-26 ### Fixed diff --git a/docker/Dockerfile b/docker/Dockerfile index 2afccd08..1450eec5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,8 @@ ENV PATH="${PATH}:/app/recyclarr" \ RUN set -ex; \ apk add --no-cache bash libstdc++ tzdata supercronic; \ - mkdir -p "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" && chmod 777 "$DOTNET_BUNDLE_EXTRACT_BASE_DIR"; + mkdir -p "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" && chmod 777 "$DOTNET_BUNDLE_EXTRACT_BASE_DIR"; \ + mkdir -p /config && chown 1000:1000 /config; COPY --from=build /build/publish /app/recyclarr/ COPY --chmod=555 ./scripts/prod/*.sh /