mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
Merge pull request #1251 from museofficial/revert-base-dockerfile-change
fix: revert Dockerfile to inherit dependencies properly, ref issue #1250
This commit is contained in:
commit
e66556086e
2 changed files with 13 additions and 2 deletions
|
@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
- Revert Dockerfile to inherit dependencies image from base image
|
||||||
|
|
||||||
## [2.11.0] - 2025-03-31
|
## [2.11.0] - 2025-03-31
|
||||||
- Updated ytdl-core to 4.16.5 distubejs/ytdl-core@4.15.9...4.16.6 which includes distubejs/ytdl-core@1f57d78 fixing the sig parsing
|
- Updated ytdl-core to 4.16.5 distubejs/ytdl-core@4.15.9...4.16.6 which includes distubejs/ytdl-core@1f57d78 fixing the sig parsing
|
||||||
|
|
14
Dockerfile
14
Dockerfile
|
@ -14,10 +14,20 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
FROM node:22-bookworm AS dependencies
|
FROM base AS dependencies
|
||||||
|
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
|
|
||||||
|
# Add Python and build tools to compile native modules
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install --no-install-recommends -y \
|
||||||
|
python3 \
|
||||||
|
python-is-python3 \
|
||||||
|
build-essential \
|
||||||
|
&& apt-get autoclean \
|
||||||
|
&& apt-get autoremove \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY yarn.lock .
|
COPY yarn.lock .
|
||||||
|
|
||||||
|
@ -54,4 +64,4 @@ ENV COMMIT_HASH=$COMMIT_HASH
|
||||||
ENV BUILD_DATE=$BUILD_DATE
|
ENV BUILD_DATE=$BUILD_DATE
|
||||||
ENV ENV_FILE=/config
|
ENV ENV_FILE=/config
|
||||||
|
|
||||||
CMD ["tini", "--", "node", "--enable-source-maps", "dist/scripts/migrate-and-start.js"]
|
CMD ["tini", "--", "node", "--enable-source-maps", "dist/scripts/migrate-and-start.js"]
|
Loading…
Add table
Add a link
Reference in a new issue