Set user ownership of static build dir

pull/373/head
Ben Busby 3 years ago
parent 13202cc6b1
commit 958faed1b6
No known key found for this signature in database
GPG Key ID: 339B7B7EB5333D14

@ -67,6 +67,9 @@ COPY app/ app/
COPY run .
COPY whoogle.env .
# Allow writing symlinks to build dir
RUN chown 102:102 app/static/build
EXPOSE $EXPOSE_PORT
HEALTHCHECK --interval=30s --timeout=5s \

@ -16,7 +16,6 @@ services:
- no-new-privileges
cap_drop:
- ALL
read_only: true
tmpfs:
- /config/:size=10M,uid=102,gid=102,mode=1700
- /var/lib/tor/:size=10M,uid=102,gid=102,mode=1700

Loading…
Cancel
Save