An extensible, general purpose http->gemini mirror with full javascript support, live at gemini://illegaldrugs.net/cgi-bin/hellgate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
839 B

FROM debian:buster
RUN apt update \
&& apt install -y \
git \
nodejs \
npm \
libgtk2.0-0 \
libgconf-2-4 \
libxshmfence1 \
libnss3 \
libatk-bridge2.0-0 \
libdrm2 \
libgtk-3-0 \
libgbm1 \
libasound2 \
xvfb \
&& npm i npm@latest -g \
&& npm install -g electron --unsafe-perm=true \
&& mkdir /home/hellgate \
&& useradd hellgate -d /home/hellgate \
&& chown -R hellgate:hellgate /home/hellgate
COPY --chown=hellgate . /home/hellgate
USER hellgate
WORKDIR /home/hellgate
RUN npm install \
&& ./gen_cert.sh \
&& rm -rf node_modules/gemini-server \
&& cd node_modules \
&& git clone https://github.com/jgkaplan/gemini-server
CMD xvfb-run -a electron hellgate.js --no-sandbox
EXPOSE 1965