Compare commits
No commits in common. "ba154abd16e70f852c613f2289ec97b8b31b0f11" and "c75b0628c213d2394696f75cb49a466601459dc5" have entirely different histories.
ba154abd16
...
c75b0628c2
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pronouns-today-web"
|
||||
name = "pronouns_today_web"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
FROM rust:1.56-alpine3.13 AS builder
|
||||
RUN apk update
|
||||
RUN apk add musl-dev
|
||||
ADD . .
|
||||
WORKDIR web
|
||||
RUN cargo build --target=x86_64-unknown-linux-musl --release
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder target/x86_64-unknown-linux-musl/release/pronouns_today_web /
|
||||
CMD ["/pronouns_today_web"]
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
docker build .. -t 'pronouns_today_web' -f Dockerfile
|
|
@ -139,7 +139,6 @@ async fn not_found() -> impl Responder {
|
|||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
env_logger::init();
|
||||
println!("Starting pronouns-today-web on 127.0.0.1:8080");
|
||||
HttpServer::new(|| {
|
||||
let logger = Logger::default();
|
||||
let app = App::new()
|
||||
|
|
Loading…
Reference in a new issue