tabminal 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +2 -12
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -2,23 +2,13 @@ FROM node:latest
|
|
|
2
2
|
|
|
3
3
|
WORKDIR /app
|
|
4
4
|
|
|
5
|
-
# Copy package files first for caching
|
|
6
|
-
COPY package.json package-lock.json ./
|
|
7
|
-
|
|
8
|
-
# Install dependencies
|
|
9
|
-
# Using 'npm install -g .' later to mimic npx/global install behavior
|
|
10
|
-
RUN npm install
|
|
11
|
-
|
|
12
5
|
# Install cloudflared
|
|
13
6
|
RUN curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && \
|
|
14
7
|
dpkg -i cloudflared.deb && \
|
|
15
8
|
rm cloudflared.deb
|
|
16
9
|
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# Install the project globally so 'tabminal' command is available
|
|
21
|
-
RUN npm install -g .
|
|
10
|
+
# Install Tabminal from npm
|
|
11
|
+
RUN npm install -g tabminal --unsafe-perm --allow-root
|
|
22
12
|
|
|
23
13
|
# Expose the default port
|
|
24
14
|
EXPOSE 9846
|