Spaces:
narugo
/
Runtime error

Fuegovic commited on
Commit
13ab8ed
1 Parent(s): 91e72f6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -15,8 +15,10 @@ RUN apt-get update && apt-get install -y redis-server
15
  # fi
16
 
17
  # Get config.json
18
- RUN --mount=type=secret,id=REDIS_CONFIG,dst=/etc/redis/REDIS_CONFIG \
19
- cat /etc/secrets/REDIS_CONFIG > redis.conf && chmod 777 redis.conf
 
 
20
 
21
  # Run the Redis server as the main process with the configuration file
22
  CMD ["redis-server", "/etc/redis/redis.conf"]
 
15
  # fi
16
 
17
  # Get config.json
18
+ # RUN --mount=type=secret,id=REDIS_CONFIG,dst=/etc/redis/REDIS_CONFIG \
19
+ # cat /etc/secrets/REDIS_CONFIG > redis.conf && chmod 777 redis.conf
20
+ COPY redis.conf /etc/redis/redis.conf
21
+
22
 
23
  # Run the Redis server as the main process with the configuration file
24
  CMD ["redis-server", "/etc/redis/redis.conf"]