fix(seacogs): fixed node installer and added deadsnakes ppa
Some checks failed
Docker Build / Build (push) Failing after 8s
Some checks failed
Docker Build / Build (push) Failing after 8s
This commit is contained in:
parent
079f036bbb
commit
5d188d320e
1 changed files with 12 additions and 3 deletions
|
@ -12,14 +12,23 @@ RUN apt-get install -y \
|
|||
libz-dev \
|
||||
pngquant
|
||||
|
||||
# Install Python and Node.js
|
||||
# Install Nodejs
|
||||
|
||||
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash -
|
||||
RUN nvm install 12.16.1
|
||||
RUN nvm use 12.16.1
|
||||
|
||||
# Set up deadsnakes PPA
|
||||
|
||||
RUN add-apt-repository ppa:deadsnakes/ppa -y
|
||||
|
||||
# Install Python 3.11
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get install -y \
|
||||
nodejs \
|
||||
python3.11 \
|
||||
python3.11-dev \
|
||||
python3.11-venv
|
||||
RUN python3.11 --version
|
||||
|
||||
# Install Poetry
|
||||
|
||||
|
|
Loading…
Reference in a new issue