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.
Files changed (2) hide show
  1. package/Dockerfile +2 -12
  2. 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
- # Copy source code
18
- COPY . .
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabminal",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "A modern, persistent web terminal with multi-tab support and real-time system monitoring.",
5
5
  "type": "module",
6
6
  "bin": {