Skip to content

Commit e4bb321

Browse files
committed
修复 Railway 构建失败问题,原因是 Railway 不再支持指定数据卷关键字 close luolongfei#114
1 parent f83e839 commit e4bb321

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ RUN set -eux \
1313
&& apk update \
1414
&& apk add --no-cache tzdata bash
1515

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

1819
COPY docker-entrypoint.sh /usr/local/bin/
19-
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
20+
RUN chmod +x /usr/local/bin/docker-entrypoint.sh \
21+
&& mkdir /conf
2022

2123
ENTRYPOINT ["docker-entrypoint.sh"]
2224

resources/lang/zh.php

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

0 commit comments

Comments
 (0)