summaryrefslogtreecommitdiffhomepage
path: root/website/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'website/BUILD')
-rw-r--r--website/BUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/website/BUILD b/website/BUILD
index 6d92d9103..f3642b903 100644
--- a/website/BUILD
+++ b/website/BUILD
@@ -1,17 +1,15 @@
load("//tools:defs.bzl", "bzl_library", "pkg_tar")
load("//website:defs.bzl", "doc", "docs")
+load("//images:defs.bzl", "docker_image")
package(licenses = ["notice"])
-# website is the full container image. Note that this actually just collects
-# other dependendcies and runs Docker locally to import and tag the image.
-sh_binary(
+docker_image(
name = "website",
- srcs = ["import.sh"],
data = [":files"],
- tags = [
- "local",
- "manual",
+ statements = [
+ "EXPOSE 8080/tcp",
+ 'ENTRYPOINT ["/server"]',
],
)