Fuegovic commited on
Commit
4e0e605
·
1 Parent(s): 7ac42df

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -10
Dockerfile CHANGED
@@ -10,16 +10,6 @@ RUN apt-get update && apt-get install -y redis-server
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 \
16
- # cat /etc/secrets/REDIS_CONFIG > redis.conf \
17
- # && chmod 777 tokens.json; \
18
- # fi
19
-
20
- # Get config.json
21
- # RUN --mount=type=secret,id=REDIS_CONFIG,dst=/etc/redis/REDIS_CONFIG \
22
- # cat /etc/secrets/REDIS_CONFIG > redis.conf && chmod 777 redis.conf
23
  COPY redis.conf /etc/redis/redis.conf
24
 
25
 
 
10
  RUN mkdir -p /var/log/redis
11
  RUN chmod -R 777 /var/log/redis
12
 
 
 
 
 
 
 
 
 
 
 
13
  COPY redis.conf /etc/redis/redis.conf
14
 
15