![]() ![]() ![]() local / bin / pipenv sync RUN / usr / src /. For example, if you need to install pycurl # you need to have pycurl build dependencies libcurl4-gnutls-dev and libcurl3-gnutls # In the runtime container you need only libcurl3-gnutls # RUN apt install -y libcurl3-gnutls libcurl4-gnutls-dev RUN / root /. lock Pipfile / usr / src / WORKDIR / usr / src # NOTE: If you install binary packages required for a python module, you need # to install them again in the runtime. io / python : 3.9 AS builder RUN pip install - user pipenv # Tell pipenv to create venv in the current directory ENV PIPENV_VENV_IN_PROJECT = 1 # Pipfile contains requests ADD Pipfile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |