Compare commits
2 commits
96135d5b34
...
fe6241f109
Author | SHA1 | Date | |
---|---|---|---|
fe6241f109 | |||
860c66943c |
4 changed files with 26 additions and 0 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
target/
|
|
@ -1,7 +1,9 @@
|
|||
[package]
|
||||
name = "empede"
|
||||
description = "A web client for MPD"
|
||||
version = "0.1.7"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.70"
|
||||
|
|
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM rust:1.69-alpine as builder
|
||||
WORKDIR /usr/src/empede
|
||||
RUN apk add --no-cache build-base
|
||||
COPY ./src ./src
|
||||
COPY ./templates ./templates
|
||||
COPY ./Cargo.* ./
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM alpine:latest
|
||||
WORKDIR /app
|
||||
COPY --from=builder /usr/local/cargo/bin/empede ./
|
||||
COPY ./static ./static
|
||||
|
||||
ARG MPD_HOST
|
||||
ARG MPD_PORT
|
||||
ARG EMPEDE_BIND
|
||||
|
||||
CMD ["./empede"]
|
|
@ -1,4 +1,9 @@
|
|||
# Empede
|
||||
|
||||
![Drone (self-hosted)](https://img.shields.io/drone/build/_/empede?server=https%3A%2F%2Fci.sijman.nl)
|
||||
![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/vijfhoek/empede)
|
||||
![Crates.io](https://img.shields.io/crates/v/empede)
|
||||
|
||||
**A web client for MPD.**
|
||||
|
||||
![Screenshot](screenshots/screenshot.webp)
|
||||
|
|
Loading…
Reference in a new issue