Created
October 10, 2020 06:45
-
-
Save jmoz/eca764892443ab85623f9c86e5839f26 to your computer and use it in GitHub Desktop.
Revisions
-
jmoz created this gist
Oct 10, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ FROM python:3.8-slim ENV PYTHONUNBUFFERED=1 RUN mkdir /code WORKDIR /code COPY requirements.txt /code/ RUN apt-get update \ && apt-get install -y --no-install-recommends gcc build-essential \ && pip3 install -r requirements.txt \ && rm -rf /var/lib/apt/lists/* \ && apt-get purge -y --auto-remove gcc build-essential COPY . /code/