Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
|
|
|
| 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
|