@babblevoice/projectrtp 2.6.1 → 2.6.2

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 CHANGED
@@ -11,12 +11,12 @@ RUN apk add --no-cache \
11
11
  cd libilbc-3.0.4; \
12
12
  cmake . -DCMAKE_INSTALL_LIBDIR=/lib -DCMAKE_INSTALL_INCLUDEDIR=/usr/include; cmake --build .; cmake --install .;
13
13
 
14
- WORKDIR /usr/local/lib/node_modules/@babblevoice/projectrtp/
14
+ WORKDIR /usr/src/projectrtp
15
15
  COPY . .
16
16
 
17
- RUN npm ci --no-optional --production && \
18
- rm -fr src/build/Release/obj.target && \
19
- rm -fr build/Release/obj.target/projectrtp
17
+ # a more correct to install this module into the global location
18
+ RUN npm install --production --build-from-source && \
19
+ npm install -g .
20
20
 
21
21
  FROM alpine:3.21 AS app
22
22
 
package/README.md CHANGED
@@ -66,7 +66,7 @@ If you wish to build outsode of a Docker image, there are npm target scripts for
66
66
 
67
67
  ```bash
68
68
  docker buildx prune
69
- docker buildx build --platform linux/amd64,linux/arm64 -t tinpotnick/projectrtp:2.6.1 . --push
69
+ docker buildx build --platform linux/amd64,linux/arm64 -t tinpotnick/projectrtp:2.6.2 . --push
70
70
  ```
71
71
 
72
72
  ### Dev build
package/binding.gyp CHANGED
@@ -33,12 +33,14 @@
33
33
  [
34
34
  "build_type=='prod'", {
35
35
  "cflags": [
36
- "-O3"
36
+ "-O3",
37
+ "-g"
37
38
  ]
38
39
  }
39
40
  ]
40
41
  ],
41
42
  "ldflags": [
43
+ "-g",
42
44
  "-Wl,-z,relro",
43
45
  "-Wl,-z,now",
44
46
  "-Wl,--export-dynamic" ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/projectrtp",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "A scalable Node addon RTP server",
5
5
  "main": "index.js",
6
6
  "directories": {