Fuegovic commited on
Commit
b2d04ca
1 Parent(s): 4efea7b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,7 +2,7 @@
2
  FROM ubuntu:18.04
3
 
4
  # Expose the default Redis port
5
- EXPOSE 6379
6
 
7
  # Update the system and install Redis
8
  RUN apt-get update && apt-get install -y redis-server
@@ -10,6 +10,8 @@ RUN apt-get update && apt-get install -y redis-server
10
  # Append the commands to the Redis configuration file
11
  RUN echo "acl setuser test >redis_password on allcommands allkeys allchannels" >> /etc/redis/redis.conf
12
  RUN echo "requirepass password" >> /etc/redis/redis.conf
 
 
13
 
14
  # Run the Redis server as the main process
15
  CMD ["redis-server"]
 
2
  FROM ubuntu:18.04
3
 
4
  # Expose the default Redis port
5
+ EXPOSE 7860
6
 
7
  # Update the system and install Redis
8
  RUN apt-get update && apt-get install -y redis-server
 
10
  # Append the commands to the Redis configuration file
11
  RUN echo "acl setuser test >redis_password on allcommands allkeys allchannels" >> /etc/redis/redis.conf
12
  RUN echo "requirepass password" >> /etc/redis/redis.conf
13
+ RUN echo "port 7860" >> /etc/redis/redis.conf
14
+
15
 
16
  # Run the Redis server as the main process
17
  CMD ["redis-server"]