mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-22 08:55:39 +08:00
docker: use environment args to set parameters
This commit is contained in:
@@ -28,7 +28,7 @@ ADD ./entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh \
|
||||
&& adduser -D -h /home/noroot -u 1000 -s /bin/bash noroot \
|
||||
&& chown noroot:noroot ${BUILD_PREFIX}
|
||||
&& chown -R noroot:noroot ${BUILD_PREFIX}
|
||||
|
||||
USER noroot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user