Update Dockerfile
Browse files- 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 /
|
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
|