Sign inSign up

call518/deciflow-ui

By call518

•Updated about 18 hours ago

Image
0

358

call518/deciflow-ui repository overview

⁠Dockerfile

FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:0.7.20 /uv /usr/local/bin/uv

ENV DEBIAN_FRONTEND=noninteractive

# 서비스 자동 기동 차단 정책 적용 후 패키지 설치, 정책 파일 제거
RUN printf '#!/bin/sh\nexit 101\n' > /usr/sbin/policy-rc.d \
 && chmod +x /usr/sbin/policy-rc.d \
 && apt-get update \
 && apt-get install -y --no-install-recommends \
      tcpdump \
      net-tools \
      dnsutils \
      wget \
      curl \
      ca-certificates \
 && rm -rf /var/lib/apt/lists/* /usr/sbin/policy-rc.d

WORKDIR /app
ENV UV_PROJECT_ENVIRONMENT=/opt/deciflow-venv \
    PYTHONUNBUFFERED=1
EXPOSE 4000
CMD ["sh", "-c", "uv sync --frozen --no-dev --no-install-project --no-cache && exec /opt/deciflow-venv/bin/python -c \"import server; server.main(host='0.0.0.0')\""]

⁠run-deciflow-ui.sh

#!/bin/bash
  
#docker build --tag call518/deciflow-ui:0.0.1 .

docker run --detach \
  --name DeciFlow-UI \
  --init \
  --restart unless-stopped \
  --publish 0.0.0.0:4000:4000 \
  --mount "type=bind,src=$(pwd),dst=/app,readonly" \
  --mount "type=volume,src=deciflow-venv,dst=/opt/deciflow-venv" \
  --mount "type=bind,src=/var/log,dst=/host-logs/var/log,readonly" \
  --mount "type=bind,src=$(pwd)/sample-logs,dst=/host-logs/sample-logs,readonly" \
  call518/deciflow-ui:0.0.1

Tag summary

Content type

Image

Digest

sha256:d6928e0cc…

Size

372.9 MB

Last updated

about 18 hours ago

docker pull call518/deciflow-ui:0.0.2