1
0

update docker

This commit is contained in:
2025-07-20 12:21:09 +09:00
parent 9222892c61
commit 61694318a7
2 changed files with 5 additions and 11 deletions

View File

@@ -1,14 +1,8 @@
FROM syui/aios
FROM archlinux
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
#RUN pacman -Syu --noconfirm
WORKDIR /app
COPY api /app/
ENTRYPOINT ["/app/api"]

View File

@@ -1,7 +1,7 @@
services:
api:
ports:
- 8080:8080
- 8188:8080
build:
context: .
restart: always