mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Added yarn back to Dockerfile
Set strict-ssl to false for npm in Dockerfile
This commit is contained in:
@@ -10,7 +10,9 @@ FROM ubuntu:20.04 as frontend
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get -y install curl
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get -y install nodejs
|
||||
RUN apt-get -y install nodejs \
|
||||
yarn
|
||||
RUN npm config set strict-ssl false
|
||||
RUN npm install -g @angular/cli
|
||||
|
||||
WORKDIR /build
|
||||
@@ -36,7 +38,8 @@ RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get update && apt-get -y install \
|
||||
npm \
|
||||
nodejs \
|
||||
yarn \
|
||||
python2 \
|
||||
python3 \
|
||||
atomicparsley && \
|
||||
@@ -45,6 +48,8 @@ RUN apt-get update && apt-get -y install \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt
|
||||
|
||||
RUN npm config set strict-ssl false
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
||||
COPY --from=ffmpeg /usr/local/bin/ffprobe /usr/local/bin/ffprobe
|
||||
|
||||
Reference in New Issue
Block a user