Skip to content

Commit

Permalink
Merge pull request #9 from Anillc/docker-2
Browse files Browse the repository at this point in the history
insert host for docker since host have been removed
  • Loading branch information
Anillc authored Feb 9, 2023
2 parents c64ba6a + a81aeb3 commit eea6aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
chown -R root:root /koishi
if [ ! -e "/koishi/package.json" ]; then
unzip -d /koishi /boilerplate.zip
sed -i 's/host: .*/host: 0.0.0.0/g' /koishi/koishi.yml
sed -i '1i host: 0.0.0.0' /koishi/koishi.yml
fi

exec "$@"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@koishijs/boilerplate",
"version": "1.6.0",
"version": "1.6.1",
"private": true,
"files": [
".env",
Expand Down

0 comments on commit eea6aa6

Please sign in to comment.