mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 07:22:52 +03:00
15 lines
274 B
Docker
Executable File
15 lines
274 B
Docker
Executable File
FROM ekidd/rust-musl-builder:1.40.0 as builder
|
|
|
|
ADD . .
|
|
RUN sudo chmod -R 0777 *
|
|
RUN cargo build --release
|
|
|
|
FROM alpine:latest
|
|
|
|
COPY --from=builder \
|
|
/home/rust/src/target/x86_64-unknown-linux-musl/release/martin \
|
|
/usr/local/bin/
|
|
|
|
EXPOSE 3000
|
|
CMD /usr/local/bin/martin
|