1
0
api/Dockerfile

16 lines
244 B
Docker
Raw Normal View History

2024-02-21 14:03:24 +00:00
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
WORKDIR /app/data
RUN touch /app/data/new.sqlite
WORKDIR /app
ENTRYPOINT ["/app/api"]