From cfba0db99463557a5a121bccac268132c16b8ab9 Mon Sep 17 00:00:00 2001 From: Cullen Date: Mon, 28 Aug 2023 13:28:47 -0500 Subject: [PATCH] docker file install build-essential --- .docker/config.json | 3 +++ Dockerfile | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .docker/config.json diff --git a/.docker/config.json b/.docker/config.json new file mode 100644 index 0000000..e1ea444 --- /dev/null +++ b/.docker/config.json @@ -0,0 +1,3 @@ +{ + "experimental": "enabled" +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4973218..ea1ab33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,12 @@ WORKDIR /app COPY . /app -RUN apt-get update -RUN apt-get install -y jq -RUN pip install --no-cache-dir -r requirements.txt +RUN apt-get update && \ + apt-get install -y jq build-essential && \ + pip install --no-cache-dir -r requirements.txt && \ + apt-get remove -y build-essential && \ + apt-get autoremove -y && \ + apt-get clean EXPOSE 8000