Spaces:
Sleeping
Sleeping
chore: Update Dockerfile to install and configure Redis server, fix ownership issue with /app directory, and expose Redis port 6379
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -27,7 +27,7 @@ RUN curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/
|
|
27 |
RUN sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
|
28 |
RUN echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
|
29 |
RUN sudo apt-get update
|
30 |
-
RUN sudo apt-get install redis-stack-server
|
31 |
|
32 |
WORKDIR /app
|
33 |
|
|
|
27 |
RUN sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
|
28 |
RUN echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
|
29 |
RUN sudo apt-get update
|
30 |
+
RUN sudo apt-get install -y redis-stack-server
|
31 |
|
32 |
WORKDIR /app
|
33 |
|