Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ EXPOSE 7860
|
|
| 7 |
# Update the system and install Redis
|
| 8 |
RUN apt-get update && apt-get install -y redis-server
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Get the configuration file from the secret
|
| 11 |
# RUN --mount=type=secret,id=REDIS_CONFIG,dst=/etc/redis/redis.conf \
|
| 12 |
# if [ -f /etc/redis/redis.conf ]; then \
|
|
|
|
| 7 |
# Update the system and install Redis
|
| 8 |
RUN apt-get update && apt-get install -y redis-server
|
| 9 |
|
| 10 |
+
RUN mkdir -p /var/log/redis
|
| 11 |
+
RUN chmod -R 777 /var/log/redis
|
| 12 |
+
|
| 13 |
# Get the configuration file from the secret
|
| 14 |
# RUN --mount=type=secret,id=REDIS_CONFIG,dst=/etc/redis/redis.conf \
|
| 15 |
# if [ -f /etc/redis/redis.conf ]; then \
|