From acac85d99daca4ce74b1a0a90328e474b5e492e5 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Tue, 5 Nov 2024 21:42:21 -0600 Subject: [PATCH] changing mouted folder --- .github/workflows/on_push_deploy_to_staging.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on_push_deploy_to_staging.yaml b/.github/workflows/on_push_deploy_to_staging.yaml index 00397258f..ecf68a4ee 100644 --- a/.github/workflows/on_push_deploy_to_staging.yaml +++ b/.github/workflows/on_push_deploy_to_staging.yaml @@ -77,7 +77,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:/outputs/img2img-images \ + -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/media_root:/home/ec2-user/apps/media_root \ --env-file /home/${{ secrets.STAGING_EC2_USER }}/.env \ ${{ secrets.STAGING_ECR_URI }}:latest diff --git a/Dockerfile b/Dockerfile index c3a0fe948..f8f22ff36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN mkdir -p $WORKDIR WORKDIR $WORKDIR # Create the outputs/img2img-images folder -RUN mkdir -p /outputs/img2img-images +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