mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-08 02:51:28 +03:00
Switched from alpine to ubuntu
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,9 +1,9 @@
|
|||||||
FROM alpine:latest AS ffmpeg
|
FROM ubuntu:focal AS ffmpeg
|
||||||
|
|
||||||
COPY docker-build.sh .
|
COPY docker-build.sh .
|
||||||
RUN sh ./docker-build.sh
|
RUN sh ./docker-build.sh
|
||||||
|
|
||||||
FROM alpine:latest as frontend
|
FROM ubuntu:focal as frontend
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
npm
|
npm
|
||||||
@@ -20,7 +20,7 @@ RUN npm run build
|
|||||||
|
|
||||||
#--------------#
|
#--------------#
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM ubuntu:focal
|
||||||
|
|
||||||
ENV UID=1000 \
|
ENV UID=1000 \
|
||||||
GID=1000 \
|
GID=1000 \
|
||||||
@@ -34,11 +34,7 @@ RUN apk add --no-cache \
|
|||||||
npm \
|
npm \
|
||||||
python2 \
|
python2 \
|
||||||
python3 \
|
python3 \
|
||||||
su-exec \
|
atomicparsley
|
||||||
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
|
||||||
atomicparsley \
|
|
||||||
&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \
|
|
||||||
musl
|
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user