Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
# Use the official Ubuntu 18.04 image as a base
|
| 2 |
FROM ubuntu:18.04
|
| 3 |
|
| 4 |
-
# Update the system and install Redis
|
| 5 |
-
RUN apt-get update && apt-get install -y redis-server
|
| 6 |
-
|
| 7 |
# Expose the default Redis port
|
| 8 |
EXPOSE 6379
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Run the Redis server as the main process
|
| 11 |
CMD ["redis-server"]
|
|
|
|
| 1 |
# Use the official Ubuntu 18.04 image as a base
|
| 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
|
| 9 |
+
|
| 10 |
# Run the Redis server as the main process
|
| 11 |
CMD ["redis-server"]
|