add docker build instruction

This commit is contained in:
2023-01-18 02:19:50 +03:00
parent 51a7f5f578
commit a328058a58
3 changed files with 16 additions and 13 deletions

View File

@@ -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" ]