tor-router/Dockerfile

25 lines
273 B
Docker
Raw Normal View History

2017-01-31 15:56:42 +00:00
FROM ubuntu:16.10
EXPOSE 9050
EXPOSE 53
2017-01-31 23:11:36 +00:00
ENV DNS_PORT 53
ENV SOCKS_PORT 9050
2017-01-31 23:16:57 +00:00
ENV INSTANCES 3
2017-01-31 15:56:42 +00:00
ADD https://deb.nodesource.com/setup_7.x /nodejs_install
RUN bash /nodejs_install
RUN apt install -y nodejs tor git
ADD . /app
WORKDIR /app
RUN npm install
CMD npm start