1
0
Fork 0
mirror of https://codeberg.org/icewind/shelve.git synced 2026-06-03 12:04:09 +02:00
shelve/Dockerfile
2020-01-25 22:39:22 +01:00

14 lines
No EOL
254 B
Docker

FROM ekidd/rust-musl-builder AS build
ADD . ./
RUN sudo chown -R rust:rust .
RUN cargo build --release
FROM alpine:latest
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/shelve /
EXPOSE 80
ENV ROCKET_PORT=80
CMD ["/shelve"]