Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
appellation committed Oct 25, 2022
1 parent 6975d99 commit 8495868
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target
.dockerignore
Dockerfile
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rust

WORKDIR /usr/src/spectacles
COPY . .

RUN cargo install --path ./gateway
RUN cargo install --path ./brokers/json

COPY gateway/gateway.toml .

ENTRYPOINT spectacles-gateway | spectacles-json

0 comments on commit 8495868

Please sign in to comment.