Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ENV KINDLEGEN_FILE kindlegen_linux_2.6_i386_v2_9.tar.gz
WORKDIR /temp

RUN set -x \
# install tzdata
&& apk --no-cache add tzdata \
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tzdata を入れてタイムゾーンを変更できるようにしています。

# install AozoraEpub3
&& wget https://github.com/kyukyunyorituryo/AozoraEpub3/releases/download/${AOZORAEPUB3_VERSION}/${AOZORAEPUB3_FILE}.zip \
&& unzip -q ${AOZORAEPUB3_FILE} \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ version: "3.7"
services:
app:
image: whiteleaf/narou
environment:
TZ: Asia/Tokyo
command: ["narou", "web", "-np", "33000"]
volumes:
- .:/novel:cached
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ version: "3.7"
services:
app:
build: .
environment:
TZ: Asia/Tokyo
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asia/Tokyo にしています。

image: narou
command: ["narou", "web", "-np", "33000"]
volumes:
Expand Down