serge / Dockerfile
nsarrazin's picture
nsarrazin HF staff
deploy release 0.1.1
361b9ba
raw
history blame contribute delete
No virus
251 Bytes
FROM ghcr.io/nsarrazin/serge:0.1.1
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