fix(docker): fix volume mount path and add permission error guidance

This commit is contained in:
Xubin Ren
2026-04-06 13:15:40 +00:00
parent 4dac0a8930
commit bf459c7887
3 changed files with 25 additions and 6 deletions
+4 -1
View File
@@ -37,11 +37,14 @@ RUN useradd -m -u 1000 -s /bin/bash nanobot && \
mkdir -p /home/nanobot/.nanobot && \
chown -R nanobot:nanobot /home/nanobot /app
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
USER nanobot
ENV HOME=/home/nanobot
# Gateway default port
EXPOSE 18790
ENTRYPOINT ["nanobot"]
ENTRYPOINT ["entrypoint.sh"]
CMD ["status"]