add requirements.txt

+ attempt to remove poetry from distribution
This commit is contained in:
mungai-njoroge authored and Mungai Njoroge committed 2024-03-24 16:14:47 +03:00
1 parent 0af1ae1d8e
commit ed6732e7fd
4 files changed
+95 -8

No files matched your search

+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