mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-24 18:45:49 +01:00
8472f27ec5
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
35 lines
817 B
Python
35 lines
817 B
Python
load("@io_bazel_rules_docker//python3:image.bzl", "py3_image")
|
|
|
|
load("@pip_modules_external//: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("aiopg"),
|
|
requirement("fire"),
|
|
requirement("aiocrossref"),
|
|
requirement("aiokit"),
|
|
requirement("aiolibgen"),
|
|
"//library/aiopostgres",
|
|
"//library/configurator",
|
|
"//library/logging",
|
|
"//nexus/actions",
|
|
],
|
|
)
|
|
|