fix: manually sleep thread to debug docker container
This commit is contained in:
parent
95d0cf6e73
commit
78f8c5bead
@ -1,5 +1,6 @@
|
||||
#[macro_use]
|
||||
extern crate rocket;
|
||||
use core::time;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
use maud::{html, Markup, DOCTYPE};
|
||||
@ -134,6 +135,8 @@ fn skeleton(children: Markup) -> Markup {
|
||||
|
||||
#[launch]
|
||||
fn rocket() -> _ {
|
||||
std::thread::sleep(time::Duration::from_secs(360));
|
||||
|
||||
rocket::build()
|
||||
.mount("/", routes![index])
|
||||
.mount("/public", FileServer::from(relative!("public")))
|
||||
|
Loading…
Reference in New Issue
Block a user