mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
fix: Reduce Docker image size
This commit is contained in:
+3
-3
@@ -14,7 +14,7 @@ RUN yarn install
|
||||
|
||||
RUN yarn build
|
||||
|
||||
FROM python:3.10
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /app/swingmusic
|
||||
|
||||
@@ -28,12 +28,12 @@ VOLUME /music
|
||||
|
||||
VOLUME /config
|
||||
|
||||
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
|
||||
|
||||
RUN apt-get update && apt-get install -y ffmpeg libavcodec-extra
|
||||
|
||||
ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
|
||||
Reference in New Issue
Block a user