Skip to content

Commit

Permalink
修复 Railway 构建失败问题,原因是 Railway 不再支持指定数据卷关键字 close #114
Browse files Browse the repository at this point in the history
  • Loading branch information
luolongfei committed Jul 12, 2022
1 parent f83e839 commit e4bb321
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ RUN set -eux \
&& apk update \
&& apk add --no-cache tzdata bash

VOLUME ["/conf", "/app/logs"]
# 由于部分环境不支持数据卷 VOLUME 关键字,故不再指定
# VOLUME ["/conf", "/app/logs"]

COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh \
&& mkdir /conf

ENTRYPOINT ["docker-entrypoint.sh"]

Expand Down
2 changes: 1 addition & 1 deletion resources/lang/zh.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
'100022' => '读取文件内容失败:',
'100023' => 'Github 返回的数据与预期不一致:',
'100024' => '检测升级出错:',
'100025' => "见信好,我们在 %s 发布了新版 FreeNom 续期工具 v%s,而你当前正在使用的版本为 v%s,你可以根据自己的实际需要决定是否升级到新版本。今次新版有以下更新或改进:\n\n",
'100025' => "我们在 %s 发布了新版 FreeNom 续期工具 v%s,而你当前正在使用的版本为 v%s,你可以根据自己的实际需要决定是否升级到新版本。今次新版有以下更新或改进:\n\n",
'100026' => '欲知更多信息,请访问:',
'100027' => '(本消息针对同一个新版只会推送一次,如果你不想收到新版本通知,将 .env 文件中的 NEW_VERSION_DETECTION 的值设为 0 即可)',
'100028' => '刚刚',
Expand Down

0 comments on commit e4bb321

Please sign in to comment.