add requirements.txt

+ attempt to remove poetry from distribution
This commit is contained in:
mungai-njoroge
2024-03-24 16:14:47 +03:00
committed by Mungai Njoroge
parent 0af1ae1d8e
commit ed6732e7fd
4 changed files with 95 additions and 8 deletions
+6 -3
View File
@@ -28,11 +28,14 @@ VOLUME /music
VOLUME /config
RUN pip install poetry
# RUN pip install poetry
RUN python -m venv /venv
RUN poetry config virtualenvs.create false
# RUN poetry config virtualenvs.create false
RUN . /venv/bin/activate
RUN poetry install
# RUN poetry install
RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y ffmpeg libavcodec-extra