tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Dockerfile (661B)


      1 FROM python:3.11
      2 
      3 # No interactive frontend during docker build
      4 ENV DEBIAN_FRONTEND=noninteractive \
      5    DEBCONF_NONINTERACTIVE_SEEN=true
      6 
      7 RUN apt-get -qqy update \
      8  && apt-get -qqy install git npm
      9 
     10 WORKDIR /app/
     11 
     12 COPY package.json requirements.txt ./
     13 
     14 RUN npm install .
     15 ENV PATH=/app/node_modules/.bin:$PATH
     16 
     17 # Use venv to create a virtual environment with the docs dependencies installed,
     18 # setting the environment variables needed for this to always be active. The
     19 # `./wpt build-docs` then uses this venv with --skip-venv-setup.
     20 ENV VIRTUAL_ENV=/app/venv
     21 RUN python3 -m venv $VIRTUAL_ENV
     22 ENV PATH=$VIRTUAL_ENV/bin:$PATH
     23 RUN pip install -r requirements.txt