Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tepi/vhs/old/Dockerfile

A .http Test Runner
Go to Latest
File
# FROM ghcr.io/charmbracelet/vhs
# COPY --from=ghcr.io/charmbracelet/vhs /vhs /vhs
FROM denoland/deno:alpine-1.28.0
COPY --from=ghcr.io/charmbracelet/vhs /usr/bin/vhs /usr/bin/vhsRUN chmod +x /usr/bin/vhs
# Install FontsRUN apk add --no-cache \ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \ font-adobe-source-code-pro font-source-code-pro-nerd \ font-bitstream-vera-sans-mono-nerd \ font-dejavu font-dejavu-sans-mono-nerd \ font-fira-code font-fira-code-nerd \ font-hack font-hack-nerd \ font-ibm-plex-mono-nerd \ font-inconsolata font-inconsolata-nerd \ font-jetbrains-mono font-jetbrains-mono-nerd \ font-liberation font-liberation-mono-nerd \ font-noto \ font-roboto-mono \ font-ubuntu font-ubuntu-mono-nerd \ font-noto-emoji
# Install VHS DependenciesRUN apk add --no-cache ffmpeg chromium bash shadowCOPY --from=tsl0922/ttyd:alpine /usr/bin/ttyd /usr/bin/ttyd

# INSTALL TEPIRUN deno cache --unstable https://tepi.deno.dev/src/cli.tsRUN deno install --unstable -rAf -n tepi https://tepi.deno.dev/src/cli.ts
# INSTALL BATRUN apk add bat curlENV COLORTERM=24bitENV TERM=xterm-256color
ENV BAT_OPTS="--color=always --style=numbers,changes,header,grid --tabs=2 --pager=never"
ENV FORCE_COLOR=2ENV CLICOLOR=1ENV CLICOLOR_FORCE=1
# create a alias for catRUN deno cache --unstable npm:cli-highlightRUN echo "alias cat='deno run -A npm:cli-highlight'" >> ~/.bashrc
ENTRYPOINT ["/usr/bin/vhs"]WORKDIR /vhs