Skip to content

Commit

Permalink
build(Dockerfile): 更新 Dockerfile 以确保可执行权限和正确启动
Browse files Browse the repository at this point in the history
- 添加 RUN 指令以设置 tieba-sign 文件的可执行权限
- 将 CMD 指令更改为 ENTRYPOINT,以确保容器启动时正确执行 tieba-sign
  • Loading branch information
azsymfsnb committed Jan 10, 2025
1 parent 97cda2a commit 89cac0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ USER 1000

WORKDIR /

CMD ["./tieba-sign"]
RUN chmod +x /tieba-sign

ENTRYPOINT ["./tieba-sign"]

0 comments on commit 89cac0d

Please sign in to comment.