Skip to content

Commit

Permalink
Fix python docker image no longer ships with libexpat a requirement f…
Browse files Browse the repository at this point in the history
…or fiona and gdal
  • Loading branch information
BielStela committed Oct 29, 2024
1 parent 01f1fc5 commit ed33510
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
FROM python:3.11-slim as base
LABEL maintainer="[email protected]"

# Requirement of fiona and gdal.
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends libexpat1; \
rm -rf /var/lib/apt/lists/*


FROM base as production
ENV NAME api
ENV APP_HOME /opt/$NAME
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ services:
- GRID_TILES_PATH=${GRID_TILES_PATH}
networks:
- amazonia360-network
restart:
always

test:
build:
Expand Down

0 comments on commit ed33510

Please sign in to comment.