You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] I have searched the documentation and believe that my question is not covered.
Feature Request
I am working with a private PyPi repository (AWS CodeArtifact). I need access to my locked dependencies inside a docker build. While there is more than one way to accomplish this, the simplest way for me is to run poetry export -f requirements.txt ... and use the following code in the Dockerfile:
COPY requirements.txt .
RUN pip install --index-url ${CODEARTIFACT_URL} -t . -r requirements.txt
RUN rm requirements.txt
But poetry export is adding this line to the top of my requirements.txt file, breaking my docker build:
Adding an option to suppress adding this --index-url would let me capture the locked dependencies and take care of the private CodeArtifact PyPi repo myself.
The text was updated successfully, but these errors were encountered:
Feature Request
I am working with a private PyPi repository (AWS CodeArtifact). I need access to my locked dependencies inside a docker build. While there is more than one way to accomplish this, the simplest way for me is to run
poetry export -f requirements.txt ...
and use the following code in the Dockerfile:But
poetry export
is adding this line to the top of myrequirements.txt
file, breaking my docker build:Adding an option to suppress adding this
--index-url
would let me capture the locked dependencies and take care of the private CodeArtifact PyPi repo myself.The text was updated successfully, but these errors were encountered: