mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
updated the docker run command, changing the -d options to -v. added a start.sh file and edited the Dockerfile.
8 lines
318 B
Docker
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"]
|
|
|