1
0

add docker

This commit is contained in:
2024-02-21 23:03:24 +09:00
parent 8c6be8273e
commit d62d7b61d0
5 changed files with 25 additions and 25 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM syui/aios
RUN pacman -Syu --noconfirm go
WORKDIR /app
RUN git clone https://git.syui.ai/ai/api tmp
WORKDIR /app/tmp
RUN go build
RUN mv api /app/api
#ADD ./app /app
WORKDIR /app
ENTRYPOINT ["/app/api"]