mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 05:13:19 +03:00
removing strict SSL from npm config
This commit is contained in:
@@ -19,6 +19,7 @@ RUN apt-get update && apt-get -y install \
|
|||||||
# spares us this spaghetti approach: https://stackoverflow.com/a/60547197
|
# spares us this spaghetti approach: https://stackoverflow.com/a/60547197
|
||||||
yarn && \
|
yarn && \
|
||||||
apt-get install -f && \
|
apt-get install -f && \
|
||||||
|
npm config set strict-ssl false && \
|
||||||
npm install -g @angular/cli
|
npm install -g @angular/cli
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
@@ -59,7 +60,8 @@ 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
|
||||||
COPY --chown=$UID:$GID [ "backend/package.json", "backend/package-lock.json", "/app/" ]
|
COPY --chown=$UID:$GID [ "backend/package.json", "backend/package-lock.json", "/app/" ]
|
||||||
ENV PM2_HOME=/app/pm2
|
ENV PM2_HOME=/app/pm2
|
||||||
RUN npm install pm2 -g && \
|
RUN npm config set strict-ssl false && \
|
||||||
|
npm install pm2 -g && \
|
||||||
npm install && chown -R $UID:$GID ./
|
npm install && chown -R $UID:$GID ./
|
||||||
|
|
||||||
COPY --chown=$UID:$GID --from=frontend [ "/build/backend/public/", "/app/public/" ]
|
COPY --chown=$UID:$GID --from=frontend [ "/build/backend/public/", "/app/public/" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user