Fix files and meta permissions
When running under docker-compose the volume changes the permissions by default to root but its avoided if the directory where it is mounted is created first with the correct owner.
This commit is contained in:
parent
4fa6423a85
commit
b82371250a
|
@ -5,6 +5,8 @@ RUN set -ex \
|
|||
&& go get github.com/andreimarcu/linx-server \
|
||||
&& apk del .build-deps
|
||||
|
||||
RUN mkdir -p /data/files && mkdir -p /data/meta && chown -R 65534:65534 /data
|
||||
|
||||
VOLUME ["/data/files", "/data/meta"]
|
||||
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Reference in New Issue