Skip to content

Commit

Permalink
add GDAL environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tebben committed Jan 24, 2024
1 parent 9e25694 commit 73b151a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ FROM python:3.10-slim

WORKDIR /app

ENV GDAL_CACHEMAX=75%
ENV GDAL_DISABLE_READDIR_ON_OPEN=TRUE
ENV GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
ENV GDAL_HTTP_MULTIPLEX=YES
ENV GDAL_INGESTED_BYTES_AT_OPEN=32768

COPY pyproject.toml poetry.lock /app/
COPY ./ctod /app/ctod/
COPY app.py /app/
Expand Down

0 comments on commit 73b151a

Please sign in to comment.