15 lines
213 B
Docker
15 lines
213 B
Docker
|
FROM syui/aios
|
||
|
|
||
|
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"]
|