Skip to content

Dockerfile missing scripts #324

@alukach

Description

@alukach

In #308, some work was done on our Dockerfile:

- COPY . /app
+ COPY stac_fastapi/ stac_fastapi/
+ COPY pyproject.toml pyproject.toml 
+ COPY README.md README.md

I believe that this made it so that scripts/ is no longer in the container image. As such, when I configure my docker-compose.yaml file with:

  stac-pg:
    image: ghcr.io/stac-utils/stac-fastapi-pgstac:6.1.1
    # ...
    command: bash -c "./scripts/wait-for-it.sh database-pg:5432 && python -m stac_fastapi.pgstac.app"

I now see the error:

stac-pg-1       | bash: line 1: ./scripts/wait-for-it.sh: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions