docker-compose up
redis:
# build:
# context: .
# dockerfile: redis/Dockerfile
image: sangotech/redis:latest
privileged: true
command: sh -c "./init.sh"
volumes:
- ./data/redis:/data
ports:
- 6379:6379
docker build --platform=linux/amd64 . -t redis -f ./redis/Dockerfile --force-rm
docker tag redis:latest sangotech/redis:1.0.1
docker push sangotech/redis:1.0.1