Commit 0756133a by Sanjay Pant

Update Docker and Docker compose file

parent cc6054a6
...@@ -13,4 +13,4 @@ COPY . . ...@@ -13,4 +13,4 @@ COPY . .
# The command that will be executed when a container is run from the image # The command that will be executed when a container is run from the image
ENTRYPOINT ["python", "app_redis.py"] ENTRYPOINT ["python", "app.py"]
\ No newline at end of file \ No newline at end of file
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
container_name: gradiov1 container_name: gradiov1
build: build:
context: . context: .
dockerfile: Dockerfile_Redis dockerfile: Dockerfile
ports: ports:
- "80:8081" - "80:8081"
...@@ -22,3 +22,7 @@ services: ...@@ -22,3 +22,7 @@ services:
volumes: volumes:
- ./data:/data - ./data:/data
command: redis-server --appendonly yes --dir /data command: redis-server --appendonly yes --dir /data
volumes:
data:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment