Skip to content

Commit

Permalink
Rename folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
slesaad committed Jul 24, 2024
1 parent 8d202c1 commit 15e0286
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ingest_api/runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ RUN rm -rf /tmp/ingestor
# TODO this is temporary until we use a real packaging system like setup.py or poetry
COPY ingest_api/runtime/src /asset/src

COPY common/auth /tmp/stac/common/auth
RUN pip install /tmp/stac/common/auth -t /asset
COPY common/auth /tmp/common/auth
RUN pip install /tmp/common/auth -t /asset
RUN rm -rf /tmp/common

# # Reduce package size and remove useless files
RUN cd /asset && find . -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\///' | sed 's/.cpython-[2-3][0-9]//'); cp $f $n; done;
Expand Down

0 comments on commit 15e0286

Please sign in to comment.