Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
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
|