Download Dockerfile from RDApi/reddragonapi: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/RDApi/reddragonapi/resolve/main/Dockerfile
- Command line
-
hf download hf://RDApi/reddragonapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/RDApi/reddragonapi/resolve/main/Dockerfile
626 Bytes
| FROM node:19 AS app | |
| # We don't need the standalone Chromium | |
| RUN apt-get install -y wget \ | |
| && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | |
| && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \ | |
| && apt-get update && apt-get -y install google-chrome-stable chromium xvfb\ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && echo "Chrome: " && google-chrome --version | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| CMD xvfb-run --server-args="-screen 0 1280x800x24 -ac -nolisten tcp -dpi 96 +extension RANDR" npm run dev |