1 2 3 4 5 6 7 8 9 10
FROM scratch # Copy the build target COPY target/x86_64-unknown-linux-musl/release/backend / # Copy the static files COPY target/deploy /static # Run the application by default ENTRYPOINT ["/backend"]