hyperboria/nexus/pipe/BUILD.bazel
the-superpirate a683e0ce18 - [nexus] Development
- [nexus] Development

GitOrigin-RevId: 5d5feedff7b70be4c788abeb22f89c6758431d33
2022-09-13 17:28:58 +03:00

37 lines
900 B
Python

load("@io_bazel_rules_docker//python3:image.bzl", "py3_image")
load("@pip_modules//:requirements.bzl", "requirement")
alias(
name = "binary",
actual = ":image.binary",
)
py3_image(
name = "image",
srcs = glob(["**/*.py"]),
base = "//images/production:base-python-image",
data = [
"configs/base.yaml",
"configs/logging.yaml",
],
main = "main.py",
srcs_version = "PY3ONLY",
visibility = ["//visibility:public"],
deps = [
requirement("aiokafka"),
requirement("aiosumma"),
requirement("orjson"),
requirement("pypika"),
requirement("aiocrossref"),
requirement("aiokit"),
"//library/aiopostgres",
requirement("izihawa_configurator"),
"//library/logging",
"//nexus/actions",
"//nexus/models/proto:proto_py",
requirement("izihawa_utils"),
],
)