From 9b8b862af8d3db74909ec69deb5f619308a5e696 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Tue, 5 Nov 2024 23:30:10 -0600 Subject: [PATCH] another change on the mouted folder --- .github/workflows/on_tag_deploy_to_production.yaml | 2 +- Dockerfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/on_tag_deploy_to_production.yaml b/.github/workflows/on_tag_deploy_to_production.yaml index 3d9f1da38..95b16197f 100644 --- a/.github/workflows/on_tag_deploy_to_production.yaml +++ b/.github/workflows/on_tag_deploy_to_production.yaml @@ -74,7 +74,7 @@ jobs: # Run the new Docker container docker run --gpus all -d -p 7861:7861 --name moonlite-sd \ - -v /home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images:/home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images \ + -v /home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images:/app/outputs/img2img-images \ -v /home/ec2-user/apps/media_root:/home/ec2-user/apps/media_root \ --env-file /home/${{ secrets.PROD_EC2_USER }}/.env \ ${{ secrets.PROD_ECR_URI }}:latest diff --git a/Dockerfile b/Dockerfile index f8f22ff36..37dc01f8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,6 @@ RUN mkdir -p $WORKDIR WORKDIR $WORKDIR # Create the outputs/img2img-images folder -RUN mkdir -p /home/ec2-user/apps/stable-diffusion-webui/outputs/img2img-images RUN mkdir -p /home/ec2-user/apps/media_root RUN apt-get update