Skip to content

Commit e8bf33b

Browse files
authored
pyproject (#240)
1 parent e1d310a commit e8bf33b

2 files changed

Lines changed: 5 additions & 26 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ WORKDIR /starplot
55

66
COPY . .
77

8+
ENV UV_PROJECT_ENVIRONMENT=/usr/local
9+
ENV STARPLOT_DATA_PATH=/starplot/data
10+
ENV PYTHONPATH=/starplot/src/
11+
812
# Install Chinese font
913
# Noto Sans SC -> https://fonts.google.com/noto/specimen/Noto+Sans+SC
1014
RUN mkdir -p /usr/share/fonts/truetype
@@ -13,11 +17,7 @@ RUN install -m644 /tmp/fonts/*.ttf /usr/share/fonts/truetype/
1317
RUN fc-cache -f
1418

1519
RUN pip install uv
16-
RUN uv pip install --system -r pyproject.toml
17-
RUN uv pip install --system -r requirements-dev.txt
18-
19-
ENV STARPLOT_DATA_PATH=/starplot/data
20-
ENV PYTHONPATH=/starplot/src/
20+
RUN uv sync --all-groups --all-extras
2121

2222
RUN git config --global --add safe.directory /starplot
2323

requirements-dev.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)