Skip to content

Commit

Permalink
fix pandas builds in cloud dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zganger committed May 15, 2024
1 parent e71927f commit 2fefb53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions backend/Dockerfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fefb53

Please sign in to comment.