diff --git a/serverless/outpainting/Dockerfile b/serverless/outpainting/Dockerfile index ef26bb7..090ebda 100644 --- a/serverless/outpainting/Dockerfile +++ b/serverless/outpainting/Dockerfile @@ -40,7 +40,7 @@ COPY --chown=user:user api/ /app/api/ COPY --chown=user:user scripts/ /app/scripts/ COPY --chown=user:user configs/ /app/configs/ COPY --chown=user:user setup.py /app/ -COPY --chown=user:user pyproject.toml /app/ + # Set HOME for pip cache ENV HOME=/home/user diff --git a/serverless/text-to-image/Dockerfile b/serverless/text-to-image/Dockerfile index 5f4d6e8..a06d883 100644 --- a/serverless/text-to-image/Dockerfile +++ b/serverless/text-to-image/Dockerfile @@ -40,7 +40,7 @@ COPY --chown=user:user api/ /app/api/ COPY --chown=user:user scripts/ /app/scripts/ COPY --chown=user:user configs/ /app/configs/ COPY --chown=user:user setup.py /app/ -COPY --chown=user:user pyproject.toml /app/ + # Set HOME for pip cache ENV HOME=/home/user