Skip to content

Commit acbf0fe

Browse files
committed
Merge branch 'master' of https://github.com/2Delight/mline
2 parents 59aaa0b + 1dd2423 commit acbf0fe

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎code/back/gateway/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ RUN go build -ldflags "-s -w" -o ./bin/gateway ./code/back/gateway/cmd
66

77
FROM alpine:latest AS runner
88
WORKDIR /app
9-
CMD ["./bin/gateway"]
9+
COPY --from=builder /app/bin/gateway .
10+
CMD ["./gateway"]

‎code/back/integrator/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ RUN go build -ldflags "-s -w" -o ./bin/integrator ./code/back/integrator/cmd
66

77
FROM alpine:latest AS runner
88
WORKDIR /app
9-
CMD ["./bin/integrator"]
9+
COPY --from=builder /app/bin/gateway .
10+
CMD ["./integrator"]

‎code/back/validator/src/main.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use actix_web::{get, App, HttpResponse, HttpServer, Responder, Error};
22

3-
#[get("/")]
3+
#[get("/ping")]
44
async fn index() -> Result<impl Responder, Error> {
5-
Ok(HttpResponse::Ok().body("Hello, world!"))
5+
Ok(HttpResponse::Ok().body("pong"))
66
}
77

88
#[actix_web::main]

0 commit comments

Comments
 (0)