serge / Dockerfile
nsarrazin's picture
nsarrazin HF Staff
perm fix
9e7c606
raw
history blame
252 Bytes
FROM ghcr.io/nsarrazin/serge:latest
RUN mkdir -p /data/db
RUN mkdir -p /usr/src/app/weights
RUN chmod -R 777 /data/db
RUN chmod -R 777 /usr/src/app/weights
RUN chmod -R 777 /etc/redis
RUN useradd -m -u 1000 user
# Switch to the "user" user
USER user