mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-07-29 15:13:46 +00:00
Merge branch 'master' into fix/docker-image-size-180
This commit is contained in:
+10
-7
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user