forked from jmug/stoatchat
chore: releasing beta build of autumn
This commit is contained in:
@@ -1 +1,12 @@
|
||||
# TODO: https://github.com/wader/static-ffmpeg
|
||||
# Build Stage
|
||||
FROM ghcr.io/revoltchat/base:latest AS builder
|
||||
|
||||
# Bundle Stage
|
||||
FROM gcr.io/distroless/cc-debian12:nonroot
|
||||
COPY --from=builder /home/rust/src/target/release/revolt-autumn ./
|
||||
COPY --from=mwader/static-ffmpeg:7.0.2 /ffmpeg /usr/local/bin/
|
||||
COPY --from=mwader/static-ffmpeg:7.0.2 /ffprobe /usr/local/bin/
|
||||
|
||||
EXPOSE 14704
|
||||
USER nonroot
|
||||
CMD ["./revolt-autumn"]
|
||||
|
||||
@@ -77,7 +77,6 @@ async fn main() -> Result<(), std::io::Error> {
|
||||
.with_state(db);
|
||||
|
||||
// Configure TCP listener and bind
|
||||
tracing::info!("hi vscode, please port forward http://127.0.0.1:14704, thank you!");
|
||||
let address = SocketAddr::from((Ipv4Addr::UNSPECIFIED, 14704));
|
||||
let listener = TcpListener::bind(&address).await?;
|
||||
axum::serve(listener, app.into_make_service()).await
|
||||
|
||||
Reference in New Issue
Block a user