mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
updating docker tools (#56)
updated the docker run command, changing the -d options to -v. added a start.sh file and edited the Dockerfile.
This commit is contained in:
parent
ac5b030ec2
commit
578f9ca276
3 changed files with 13 additions and 4 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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
|
||||
CMD /agate --content /gmi/ \
|
||||
--hostname $GEMINI_HOST \
|
||||
--lang $GEMINI_LANG
|
||||
RUN cp /agate/target/release/agate /usr/bin/agate
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
ADD . .
|
||||
ENTRYPOINT ["/bin/sh", "start.sh"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue