Piped Docker & Self-Hosted Deployment

GitHub

An alternative privacy-friendly YouTube frontend which is efficient by design.

9,961 stars Vue Vue 1 file ยท ~6,914 tokens #activej#dearrow#hacktoberfest#ipfs#java#newpipe#privacy#sponsorblock
1. Pull Image (DOCKERHUB) docker pull TeamPiped/Piped:latest
2. Docker Run (1-Click Launch) docker run -d --name piped --restart always teampiped/piped:latest
3. Podman Run podman run -d --name piped --restart always teampiped/piped:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/teampiped/piped:latest
5. ORAS Pull (OCI Artifact) oras pull teampiped/piped:latest
Dockerfile
FROM node:lts-alpine AS build

WORKDIR /app/

RUN --mount=type=cache,target=/var/cache/apk \
    apk add --no-cache \
    curl

COPY . .

RUN corepack enable && corepack prepare pnpm@latest --activate

RUN --mount=type=cache,target=/root/.local/share/pnpm \
    --mount=type=cache,target=/app/node_modules \
    pnpm install --prefer-offline && \
    pnpm build && ./localizefonts.sh

FROM nginxinc/nginx-unprivileged:alpine

COPY --chown=101:101 --from=build /app/dist/ /usr/share/nginx/html/

COPY --chown=101:101 docker/nginx.conf /etc/nginx/conf.d/default.conf

COPY docker/entrypoint.sh /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]