ChandimaPrabath commited on
Commit
82873d9
·
verified ·
1 Parent(s): 35618ed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -24,5 +24,5 @@ COPY webdis.json /etc/webdis.json
24
  # Expose Redis and Webdis ports
25
  EXPOSE 6379 7860
26
 
27
- # Start Redis and Webdis
28
- CMD /tmp/redis/redis-4.0.11/src/redis-server & webdis /etc/webdis.json
 
24
  # Expose Redis and Webdis ports
25
  EXPOSE 6379 7860
26
 
27
+ # Start Redis in the background and Webdis in the foreground
28
+ CMD /tmp/redis/redis-4.0.11/src/redis-server --daemonize yes && webdis /etc/webdis.json