From b1d6c82466c178a8b53c2c553f3919c481d8f01b Mon Sep 17 00:00:00 2001 From: Daniel Krahofer Date: Thu, 7 Jul 2022 18:30:21 +0200 Subject: [PATCH] fix dockerfile and add docker ignore (#714) * fix dockerfile and add docker ignore * fixup comment in dockerignore Co-authored-by: dni --- .dockerignore | 6 ++++++ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..ebac296af --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.git +docs +docker + +# ignore all the markdown +*.md diff --git a/Dockerfile b/Dockerfile index 7b8e523d0..f9eb1dd1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" # Install build deps RUN apt-get update -RUN apt-get install -y --no-install-recommends build-essential pkg-config +RUN apt-get install -y --no-install-recommends build-essential pkg-config libpq-dev RUN python -m pip install --upgrade pip RUN pip install wheel