diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-05 20:48:45 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-05 20:48:45 +0530 |
commit | 46a6bdaab885fca5162b8b9236ec8260de7f197b (patch) | |
tree | 5602d402b68fcc715091c8eea0f75057e813ac73 | |
parent | b2b0a971788f7168bf488da8c330facee8b5f55e (diff) |
added gcc to dockerfile
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,7 +9,11 @@ EXPOSE 5000 WORKDIR /saas-in-a-flask COPY requirements.txt api.py ./ -RUN pip install -r requirements.txt +RUN apt-get update \ + && apt-get install -y --no-install-recommends gcc and-build-dependencies \ + && rm -rf /var/lib/apt/lists/* \ + && pip install -r requirements.txt \ + && apt-get purge -y --auto-remove gcc and-build-dependencies COPY ./app ./app |