trying uv sync
Browse files- Dockerfile +6 -2
- pyproject.toml +3 -3
Dockerfile
CHANGED
@@ -14,10 +14,14 @@ WORKDIR $HOME/puppy
|
|
14 |
# install puppy
|
15 |
RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
|
16 |
RUN pup
|
17 |
-
|
|
|
|
|
18 |
WORKDIR appenv
|
19 |
|
20 |
-
COPY --chown=user
|
|
|
21 |
|
|
|
22 |
EXPOSE 7860
|
23 |
CMD .venv/bin/fastapi run fetch.py --host 0.0.0.0 --port 7860
|
|
|
14 |
# install puppy
|
15 |
RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
|
16 |
RUN pup
|
17 |
+
|
18 |
+
# setup app env
|
19 |
+
RUN pup new appenv
|
20 |
WORKDIR appenv
|
21 |
|
22 |
+
COPY --chown=user ./* .
|
23 |
+
RUN pixi uv sync --project .
|
24 |
|
25 |
+
# HELLO WORLD
|
26 |
EXPOSE 7860
|
27 |
CMD .venv/bin/fastapi run fetch.py --host 0.0.0.0 --port 7860
|
pyproject.toml
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
[project]
|
2 |
name = "fetch"
|
3 |
-
version = "0.
|
4 |
-
description = "Puppy
|
5 |
authors = [
|
6 |
{ name = "Alex Kislukhin" }
|
7 |
]
|
8 |
readme = "README.md"
|
9 |
requires-python = ">=3.12"
|
10 |
dependencies = [
|
|
|
11 |
"fastapi[standard]>=0.115.6",
|
12 |
-
"huggingface-hub[cli]>=0.26.3",
|
13 |
]
|
|
|
1 |
[project]
|
2 |
name = "fetch"
|
3 |
+
version = "0.2.0"
|
4 |
+
description = "Puppy Installer"
|
5 |
authors = [
|
6 |
{ name = "Alex Kislukhin" }
|
7 |
]
|
8 |
readme = "README.md"
|
9 |
requires-python = ">=3.12"
|
10 |
dependencies = [
|
11 |
+
"apscheduler>=3.11.0",
|
12 |
"fastapi[standard]>=0.115.6",
|
|
|
13 |
]
|