Fix file permissions in docker file

This commit is contained in:
Paramtamtam 2021-04-13 21:51:23 +05:00
parent 80be5911a5
commit fbf13ebb9b
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B
2 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
## UNRELEASED
### Fixed
- File permissions in docker image
## v1.5.0 ## v1.5.0
### Changed ### Changed

View File

@ -42,4 +42,6 @@ LABEL \
org.opencontainers.image.licenses="MIT" org.opencontainers.image.licenses="MIT"
# Import from builder # Import from builder
COPY --from=builder --chown=nginx /tmp/rootfs / COPY --from=builder /tmp/rootfs /
RUN chown -R nginx:nginx /opt/html