-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (20 loc) · 772 Bytes
/
Copy pathDockerfile
File metadata and controls
30 lines (20 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM python:3.12-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
unzip \
file \
&& rm -rf /var/lib/apt/lists/*
ENV DENO_INSTALL="/opt/deno"
RUN mkdir -p "$DENO_INSTALL" && curl -fsSL https://deno.land/install.sh | sh && ln -s "$DENO_INSTALL/bin/deno" /usr/local/bin/deno
ENV PATH="$DENO_INSTALL/bin:$PATH"
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ENV CORETEX_CONTAINER_TRACK="1"
WORKDIR /opt/coretex
COPY pyproject.toml README.md ./
COPY Sense/pyproject.toml Sense/README.md ./Sense/
RUN mkdir System && mkdir -p Sense/receptors && touch Sense/cli.py
RUN uv pip install --system -e .
RUN uv pip install --system -e ./Sense
COPY . .
ENTRYPOINT ["python", "-m", "System.cli"]