Merge pull request 'Add Dockerfile' (#4) from add-dockerfile into main
All checks were successful
Build & Test / build-run (push) Successful in 40s

Reviewed-on: #4
This commit is contained in:
Kio 2025-02-13 03:29:13 +00:00
commit c0467ccfd0

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM rust:alpine
RUN apk add deno pkgconfig libressl-dev musl-dev
WORKDIR /FeDirect
COPY --link . ./
ENV ROCKET_ADDRESS=0.0.0.0
RUN cargo build --release
CMD ["/FeDirect/target/release/fedirect"]