example-static-website-docker-nginx-certbot icon indicating copy to clipboard operation
example-static-website-docker-nginx-certbot copied to clipboard

Having issue while running make deploy-prod

Open pritamfocal opened this issue 3 years ago • 3 comments

ERROR: Duplicate mount points: [static:/usr/share/nginx/html:rw, /home/ubuntu/website/Website-/frontend/build:/usr/share/nginx/html:rw]

I am getting above issue when I a trying to run make deploy-prod

pritamfocal avatar May 15 '22 18:05 pritamfocal

Hi,

Can you try checking your Docker config? Maybe there is already a similar mount point on your system that conflicts with this Makefile.

koddr avatar May 16 '22 05:05 koddr

Hi Thanks for your reply...I am still getting ssame issue

ERROR: Duplicate mount points: [static:/usr/share/nginx/html:rw, /home/ubuntu/website/Website-/frontend/build:/usr/share/nginx/html:rw] make: *** [Makefile:24: deploy-test] Error 1

pritamfocal avatar May 16 '22 07:05 pritamfocal

when I try to run separately i am having this issue sudo docker-compose -f docker-compose.prod.yml up -d --build --force-recreate ERROR: The Compose file is invalid because: Service nginx has neither an image nor a build context specified. At least one must be provided.

pritamfocal avatar May 16 '22 07:05 pritamfocal