Skip to content

Commit

Permalink
feat: docker file (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelbeumer authored May 9, 2024
1 parent 2e804a1 commit f9f13e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM gcr.io/bazel-public/bazel:latest as build
WORKDIR /build
COPY . .
RUN bazel build site/...

FROM nginx:alpine
COPY --from=build /build/bazel-bin/site /usr/share/nginx/html
EXPOSE 80

0 comments on commit f9f13e4

Please sign in to comment.