agate/tools/docker/Dockerfile
cpnfeeny 578f9ca276
updating docker tools (#56)
updated the docker run command, changing the -d options to -v.
added a start.sh file and edited the Dockerfile.
2021-04-15 17:31:33 +02:00

8 lines
318 B
Docker

FROM alpine:latest
RUN apk add cargo && wget https://github.com/mbrubeck/agate/archive/refs/tags/v3.0.2.tar.gz && tar xzf v3.0.2.tar.gz && mv /agate-3.0.2 /agate && cd agate && cargo build --release
RUN cp /agate/target/release/agate /usr/bin/agate
WORKDIR /app
COPY . /app
ADD . .
ENTRYPOINT ["/bin/sh", "start.sh"]