fix: avoid Docker Hub timeout in Gitea builds
This commit is contained in:
@@ -12,10 +12,13 @@ def test_railway_services_use_the_product_frontend_and_dynamic_ports() -> None:
|
||||
assert "--hostname 0.0.0.0" in web and "${PORT:-3000}" in web
|
||||
assert "next-env.d.ts" not in web
|
||||
|
||||
assert "FROM registry.cn-hangzhou.aliyuncs.com/library/python:3.12-slim" in api
|
||||
assert "COPY SKILL.md mcp_server.py" in api
|
||||
assert "--host 0.0.0.0" in api and "${PORT:-5200}" in api
|
||||
assert "http.server" not in api
|
||||
|
||||
assert "FROM registry.cn-hangzhou.aliyuncs.com/library/node:22-alpine" in web
|
||||
|
||||
|
||||
def test_web_image_copies_postcss_config_before_building_frontend() -> None:
|
||||
web = (ROOT / "deploy" / "railway-web.Dockerfile").read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user