Deploy to fly.io
parent
12c58fcec2
commit
46c5244c1f
|
@ -0,0 +1,12 @@
|
|||
/.direnv
|
||||
/result
|
||||
/target
|
||||
/.pre-commit-config.yaml
|
||||
.env
|
||||
|
||||
|
||||
# Added by cargo
|
||||
#
|
||||
# already existing elements were commented out
|
||||
|
||||
#/target
|
|
@ -0,0 +1,8 @@
|
|||
FROM rust:1.67 as builder
|
||||
WORKDIR /usr/src/buscemi
|
||||
COPY . .
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
COPY --from=builder /usr/local/cargo/bin/buscemi /usr/local/bin/buscemi
|
||||
CMD ["buscemi"]
|
|
@ -0,0 +1,16 @@
|
|||
# fly.toml file generated for buscemi on 2023-02-28T21:37:01-05:00
|
||||
|
||||
app = "buscemi"
|
||||
kill_signal = "SIGINT"
|
||||
kill_timeout = 5
|
||||
processes = []
|
||||
|
||||
[env]
|
||||
|
||||
[experimental]
|
||||
auto_rollback = true
|
||||
|
||||
[[services]]
|
||||
internal_port = 8080
|
||||
processes = ["app"]
|
||||
protocol = "tcp"
|
Loading…
Reference in New Issue