hyperboria/nexus/pipe/BUILD.bazel
the-superpirate a51463c027 - repo(nexus): Refactoring legacy
- feat(nexus): Remove legacy functions
3 internal commit(s)

GitOrigin-RevId: d4c640bdf886fb17b0996433911ca33cd76a2091
2021-04-11 17:44:12 +03:00

37 lines
896 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("orjson"),
requirement("pypika"),
requirement("aiocrossref"),
requirement("aiokit"),
"//library/aiopostgres",
"//library/configurator",
"//library/logging",
"//nexus/actions",
"//nexus/models/proto:models_proto_py",
requirement("aiosumma"),
requirement("izihawa_utils"),
],
)