mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-19 01:39:26 +01:00
681817ceae
GitOrigin-RevId: 83514338be1d662518bab9fe5ab6eefef98f229f
38 lines
928 B
Python
38 lines
928 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",
|
|
],
|
|
legacy_create_init = False,
|
|
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"),
|
|
],
|
|
)
|
|
|