skip to Main Content

I am trying to keep a container running using a docker compose file. I added tty: true and std_in: true but it still exits with code 0

Here is my docker compose file. version: '3' services: web: image: emarcs/nginx-git ports: - 8081:80 container_name: Avida working_dir: /usr/share/nginx/html command: bash -c "git clone https://github.com/raju/temp.git && echo "cloned successfully" && mv Avida-ED-Eco /usr/share/nginx/html && echo "Successfully moved the file"" volumes:…

VIEW QUESTION
Back To Top
Search