aigenai commited on
Commit
c7915e1
1 Parent(s): b9d2b48

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,7 +30,7 @@ RUN useradd -u 1000 -m -s /bin/bash tykuser && \
30
  RUN /opt/tyk-gateway/install/setup.sh --listenport=7860 --redishost=localhost --redisport=6379 --domain=""
31
 
32
  # Set correct permissions
33
- RUN chown -R tykuser:tykuser /opt/tyk-gateway /var/log/tyk-gateway /var/run/tyk-gateway /etc/tyk
34
 
35
  # Modify the service script to use sudo
36
  RUN sed -i 's/\$DAEMON/sudo -u tykuser \$DAEMON/' /etc/init.d/tyk-gateway
 
30
  RUN /opt/tyk-gateway/install/setup.sh --listenport=7860 --redishost=localhost --redisport=6379 --domain=""
31
 
32
  # Set correct permissions
33
+ RUN chown -R tykuser:tykuser /opt/tyk-gateway /var/log/tyk-gateway /var/run/tyk-gateway /var/run /var/log
34
 
35
  # Modify the service script to use sudo
36
  RUN sed -i 's/\$DAEMON/sudo -u tykuser \$DAEMON/' /etc/init.d/tyk-gateway