sudo chmod +x /usr/local/bin/docker-compose
sudo chmod 755 ./docker-scripts/*
sudo chmod 755 ./docker-scripts/update-container.sh
# Dockerfile
RUN chmod 755 ./docker-scripts/*
RUN chmod 755 ./docker-scripts/update-container.sh
# docker-compose.yml
command: sh ./docker-scripts/update-container.sh