Set user ownership of static build dir
parent
13202cc6b1
commit
958faed1b6
|
@ -67,6 +67,9 @@ COPY app/ app/
|
||||||
COPY run .
|
COPY run .
|
||||||
COPY whoogle.env .
|
COPY whoogle.env .
|
||||||
|
|
||||||
|
# Allow writing symlinks to build dir
|
||||||
|
RUN chown 102:102 app/static/build
|
||||||
|
|
||||||
EXPOSE $EXPOSE_PORT
|
EXPOSE $EXPOSE_PORT
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s \
|
HEALTHCHECK --interval=30s --timeout=5s \
|
||||||
|
|
|
@ -16,7 +16,6 @@ services:
|
||||||
- no-new-privileges
|
- no-new-privileges
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
read_only: true
|
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /config/:size=10M,uid=102,gid=102,mode=1700
|
- /config/:size=10M,uid=102,gid=102,mode=1700
|
||||||
- /var/lib/tor/:size=10M,uid=102,gid=102,mode=1700
|
- /var/lib/tor/:size=10M,uid=102,gid=102,mode=1700
|
||||||
|
|
Loading…
Reference in New Issue