Merge branch 'master' into fix/docker-image-size-180

This commit is contained in:
Mungai Njoroge
2024-03-26 15:18:55 +03:00
committed by GitHub
46 changed files with 1449 additions and 820 deletions
+10 -7
View File
@@ -28,12 +28,15 @@ VOLUME /music
VOLUME /config
RUN python -m venv /venv
# RUN poetry config virtualenvs.create false
RUN . /venv/bin/activate
# RUN poetry install
RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu
RUN pip install poetry
RUN poetry config virtualenvs.create false
RUN poetry install
ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
# ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
ENTRYPOINT ["python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]