mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-23 17:52:36 -04:00
12 lines
282 B
Docker
12 lines
282 B
Docker
FROM golang:1.24 AS build
|
|
WORKDIR /app
|
|
|
|
RUN go install github.com/bokwoon95/wgo@latest
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
EXPOSE 4568
|
|
HEALTHCHECK --interval=30s --retries=15 CMD curl --fail http://localhost:4568$KEIBI_PREFIX/health || exit
|
|
CMD ["wgo", "run", "-race", "."]
|