mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-04 06:11:29 +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
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get -y install curl
|
RUN apt-get update && apt-get -y install curl
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
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
|
RUN npm install -g @angular/cli
|
||||||
|
|
||||||
WORKDIR /build
|
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 curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||||
RUN apt-get update && apt-get -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
npm \
|
nodejs \
|
||||||
|
yarn \
|
||||||
python2 \
|
python2 \
|
||||||
python3 \
|
python3 \
|
||||||
atomicparsley && \
|
atomicparsley && \
|
||||||
@@ -45,6 +48,8 @@ RUN apt-get update && apt-get -y install \
|
|||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt
|
rm -rf /var/lib/apt
|
||||||
|
|
||||||
|
RUN npm config set strict-ssl false
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
||||||
COPY --from=ffmpeg /usr/local/bin/ffprobe /usr/local/bin/ffprobe
|
COPY --from=ffmpeg /usr/local/bin/ffprobe /usr/local/bin/ffprobe
|
||||||
|
|||||||
Reference in New Issue
Block a user