1
0
Fork 0

feat: initial release

This commit is contained in:
Arthur K. 2026-01-17 18:14:50 +03:00
parent a3cf21f5bd
commit 761174d035
Signed by: wzray
GPG key ID: B97F30FDC4636357
41 changed files with 2008 additions and 217 deletions

View file

@ -1,11 +1,25 @@
FROM python:3.12-alpine
STOPSIGNAL SIGINT
EXPOSE 80/tcp
FROM golang:alpine AS builder
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py .
CMD ["python3", "-u", "app.py"]
RUN apk --no-cache add make;
COPY . .
RUN make hivemind;
FROM alpine
EXPOSE 56714/tcp
WORKDIR /app
VOLUME /conf
VOLUME /data
ENV HIVEMIND_CONFIG_FILE=/conf/config.toml
ENV HIVEMIND_REGISTRY_FILE=/data/registry.json
COPY --from=builder /app/build/hivemind .
CMD ["./hivemind"]