Unsterile commited on
Commit
ce6edf6
1 Parent(s): ae586e1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -26,9 +26,12 @@ RUN add-apt-repository ppa:flexiondotorg/nvtop && \
26
  apt-get upgrade -y && \
27
  apt-get install -y --no-install-recommends nvtop
28
 
29
- RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
30
- apt-get install -y nodejs && \
31
- npm install -g configurable-http-proxy
 
 
 
32
 
33
  # Create a working directory
34
  WORKDIR /app
 
26
  apt-get upgrade -y && \
27
  apt-get install -y --no-install-recommends nvtop
28
 
29
+ # Setup tailscale
30
+ RUN curl -fsSL https://tailscale.com/install.sh | sh
31
+ RUN mkdir -p /var/run && ln -s /tmp/tailscale /var/run/tailscale && \
32
+ mkdir -p /var/cache && ln -s /tmp/tailscale /var/cache/tailscale && \
33
+ mkdir -p /var/lib && ln -s /tmp/tailscale /var/lib/tailscale && \
34
+ mkdir -p /var/task && ln -s /tmp/tailscale /var/task/tailscale
35
 
36
  # Create a working directory
37
  WORKDIR /app