rabil commited on
Commit
73e4da2
·
verified ·
1 Parent(s): 26ae336

chore: Update Dockerfile to fix ownership issue with /app directory

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -44,9 +44,12 @@ EXPOSE 7860
44
  COPY docker/supervisor.conf /etc/supervisor/conf.d/supervisor.conf
45
  COPY docker/redis.conf /etc/redis/redis.conf
46
 
 
 
47
  RUN sudo chown -R rabil /app
48
 
49
  RUN sudo mkdir -p /etc/lib/redis
 
50
  RUN sudo chown -R rabil /etc/lib/redis
51
 
52
  ENV MIX_ENV=prod
 
44
  COPY docker/supervisor.conf /etc/supervisor/conf.d/supervisor.conf
45
  COPY docker/redis.conf /etc/redis/redis.conf
46
 
47
+ RUN chown -R rabil /etc/redis/redis.conf
48
+
49
  RUN sudo chown -R rabil /app
50
 
51
  RUN sudo mkdir -p /etc/lib/redis
52
+ RUN sudo chmod -R 777 /etc/lib/redis
53
  RUN sudo chown -R rabil /etc/lib/redis
54
 
55
  ENV MIX_ENV=prod