mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 10:20:18 -06:00
Update Dockerfile
Security update
This commit is contained in:
parent
090b215179
commit
2b97f9ac9e
@ -79,7 +79,11 @@ COPY docker/config/shlink_in_docker.local.php config/autoload/shlink_in_docker.l
|
|||||||
COPY docker/config/php.ini ${PHP_INI_DIR}/conf.d/
|
COPY docker/config/php.ini ${PHP_INI_DIR}/conf.d/
|
||||||
|
|
||||||
# Change the ownership of /etc/shlink/data to be writable, then change the user to non-root
|
# Change the ownership of /etc/shlink/data to be writable, then change the user to non-root
|
||||||
RUN chown 1001 -R /etc/shlink/data
|
RUN chown 1001 /etc/shlink/data
|
||||||
|
RUN chown 1001 /etc/shlink/data/locks
|
||||||
|
RUN chown 1001 /etc/shlink/data/proxies
|
||||||
|
RUN chown 1001 /etc/shlink/data/cache
|
||||||
|
RUN chown 1001 /etc/shlink/data/log
|
||||||
|
|
||||||
USER 1001
|
USER 1001
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user