Created
October 29, 2020 13:29
-
-
Save titovanton/ecd3757bb5e69d4ebf6ede34ad4e48aa to your computer and use it in GitHub Desktop.
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 characters
FROM python:3.7 | |
RUN mkdir /app | |
WORKDIR /app | |
# make docker user | |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo | |
# turn off bell | |
RUN echo 'set bell-style none' >> ~/.inputrc | |
RUN apt-get update | |
RUN apt-get install -y build-essential python3-dev \ | |
python3-setuptools python3-wheel python3-cffi libcairo2 libpango-1.0-0 \ | |
libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info | |
ADD ./requirements.pip /tmp/ | |
RUN pip install --upgrade pip | |
RUN pip install --no-cache-dir -r /tmp/requirements.pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment