@lobehub/chat 1.15.32 → 1.15.33
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.
Potentially problematic release.
This version of @lobehub/chat might be problematic. Click here for more details.
- package/CHANGELOG.md +25 -0
- package/Dockerfile +3 -1
- package/Dockerfile.database +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.15.33](https://github.com/lobehub/lobe-chat/compare/v1.15.32...v1.15.33)
|
6
|
+
|
7
|
+
<sup>Released on **2024-09-10**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix `/etc/resolv.conf`edit permission in docker image.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Fix `/etc/resolv.conf`edit permission in docker image, closes [#3880](https://github.com/lobehub/lobe-chat/issues/3880) ([fdaa190](https://github.com/lobehub/lobe-chat/commit/fdaa190))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.15.32](https://github.com/lobehub/lobe-chat/compare/v1.15.31...v1.15.32)
|
6
31
|
|
7
32
|
<sup>Released on **2024-09-10**</sup>
|
package/Dockerfile
CHANGED
@@ -10,12 +10,13 @@ RUN \
|
|
10
10
|
fi \
|
11
11
|
# Add required package & update base package
|
12
12
|
&& apk update \
|
13
|
-
&& apk add --no-cache bind-tools proxychains-ng \
|
13
|
+
&& apk add --no-cache bind-tools proxychains-ng sudo \
|
14
14
|
&& apk upgrade --no-cache \
|
15
15
|
# Add user nextjs to run the app
|
16
16
|
&& addgroup --system --gid 1001 nodejs \
|
17
17
|
&& adduser --system --uid 1001 nextjs \
|
18
18
|
&& chown -R nextjs:nodejs "/etc/proxychains" \
|
19
|
+
&& echo "nextjs ALL=(ALL) NOPASSWD: /bin/chmod * /etc/resolv.conf" >> /etc/sudoers \
|
19
20
|
&& rm -rf /tmp/* /var/cache/apk/*
|
20
21
|
|
21
22
|
## Builder image, install all the dependencies and build the app
|
@@ -190,6 +191,7 @@ CMD \
|
|
190
191
|
fi; \
|
191
192
|
# Fix DNS resolving issue in Docker Compose, ref https://github.com/lobehub/lobe-chat/pull/3837
|
192
193
|
if [ -f "/etc/resolv.conf" ]; then \
|
194
|
+
sudo chmod 666 "/etc/resolv.conf"; \
|
193
195
|
resolv_conf=$(grep '^nameserver' "/etc/resolv.conf" | awk '{print "nameserver " $2}'); \
|
194
196
|
printf "%s\n" \
|
195
197
|
"$resolv_conf" \
|
package/Dockerfile.database
CHANGED
@@ -10,12 +10,13 @@ RUN \
|
|
10
10
|
fi \
|
11
11
|
# Add required package & update base package
|
12
12
|
&& apk update \
|
13
|
-
&& apk add --no-cache bind-tools proxychains-ng \
|
13
|
+
&& apk add --no-cache bind-tools proxychains-ng sudo \
|
14
14
|
&& apk upgrade --no-cache \
|
15
15
|
# Add user nextjs to run the app
|
16
16
|
&& addgroup --system --gid 1001 nodejs \
|
17
17
|
&& adduser --system --uid 1001 nextjs \
|
18
18
|
&& chown -R nextjs:nodejs "/etc/proxychains" \
|
19
|
+
&& echo "nextjs ALL=(ALL) NOPASSWD: /bin/chmod * /etc/resolv.conf" >> /etc/sudoers \
|
19
20
|
&& rm -rf /tmp/* /var/cache/apk/*
|
20
21
|
|
21
22
|
## Builder image, install all the dependencies and build the app
|
@@ -222,6 +223,7 @@ CMD \
|
|
222
223
|
fi; \
|
223
224
|
# Fix DNS resolving issue in Docker Compose, ref https://github.com/lobehub/lobe-chat/pull/3837
|
224
225
|
if [ -f "/etc/resolv.conf" ]; then \
|
226
|
+
sudo chmod 666 "/etc/resolv.conf"; \
|
225
227
|
resolv_conf=$(grep '^nameserver' "/etc/resolv.conf" | awk '{print "nameserver " $2}'); \
|
226
228
|
printf "%s\n" \
|
227
229
|
"$resolv_conf" \
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.15.
|
3
|
+
"version": "1.15.33",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|