1
0

add docker

This commit is contained in:
2024-02-21 23:03:24 +09:00
parent 8c6be8273e
commit 99917d35dc
4 changed files with 25 additions and 1 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"]