mirror of
https://github.com/Balshgit/python-poetry.git
synced 2025-12-16 05:40:39 +03:00
add docker build instruction
This commit is contained in:
@@ -51,4 +51,6 @@ RUN export PATH="/root/.local/bin:$PATH" \
|
||||
&& poetry lock \
|
||||
&& poetry export -f requirements.txt --without-hashes --output requirements.txt
|
||||
|
||||
CMD [ "/bin/bash", "-c", "cp /code/* /poetry -r && chown ${USER}:$USER -R /poetry" ]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user