diff --git a/backend/Dockerfile b/backend/Dockerfile index 63aceab6..fe5daa66 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,6 +1,6 @@ FROM python:3-slim-bullseye AS base -RUN apt-get update && apt-get install curl -y && apt-get install g++ libpq-dev gcc -y +RUN apt-get update && apt-get install curl -y && apt-get install g++ libpq-dev gcc python3-dev -y ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.12.1/wait /wait RUN chmod +x /wait diff --git a/backend/Dockerfile.cloud b/backend/Dockerfile.cloud index 3703a943..4732b603 100644 --- a/backend/Dockerfile.cloud +++ b/backend/Dockerfile.cloud @@ -2,6 +2,9 @@ # docker build -t police-data-trust-backend-dev -f backend/Dockerfile.cloud . FROM python:3-slim-bullseye +# required for pandas +RUN apt-get update -y && apt-get install gcc g++ python3-dev -y + WORKDIR /app/ ARG PDT_API_PORT=5000