mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-26 16:52:42 +02:00
fix: install Python so @discordjs/opus can build from source
This commit is contained in:
parent
d786230242
commit
4f5effbd3b
1 changed files with 10 additions and 0 deletions
10
Dockerfile
10
Dockerfile
|
@ -18,6 +18,16 @@ FROM base AS dependencies
|
|||
|
||||
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 yarn.lock .
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue