darabos commited on
Commit
d45cfc3
·
1 Parent(s): f2dea93

Dockerfile for HF space setup.

Browse files
Files changed (4) hide show
  1. .dockerignore +25 -0
  2. .gitignore +3 -2
  3. Dockerfile +20 -0
  4. README.md +9 -0
.dockerignore ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .venv
2
+ .vscode/*
3
+ !.vscode/extensions.json
4
+ !.vscode/settings.json
5
+ .idea
6
+ .DS_Store
7
+ *.suo
8
+ *.ntvs*
9
+ *.njsproj
10
+ *.sln
11
+ *.sw?
12
+ __pycache__
13
+ node_modules
14
+ dist
15
+ build
16
+ joblib-cache
17
+ *.egg-info
18
+
19
+ lynxkite_crdt_data
20
+
21
+ # Playwright
22
+ test-results
23
+ playwright-report
24
+ /blob-report/
25
+ /playwright/.cache/
.gitignore CHANGED
@@ -1,3 +1,4 @@
 
1
  .vscode/*
2
  !.vscode/extensions.json
3
  !.vscode/settings.json
@@ -18,7 +19,7 @@ joblib-cache
18
  lynxkite_crdt_data
19
 
20
  # Playwright
21
- /test-results/
22
- /playwright-report/
23
  /blob-report/
24
  /playwright/.cache/
 
1
+ .venv
2
  .vscode/*
3
  !.vscode/extensions.json
4
  !.vscode/settings.json
 
19
  lynxkite_crdt_data
20
 
21
  # Playwright
22
+ test-results
23
+ playwright-report
24
  /blob-report/
25
  /playwright/.cache/
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:22
2
+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
3
+ RUN apt-get update && apt-get install -y git
4
+ # ADD pyproject.toml /repo/pyproject.toml
5
+ # ADD lynxkite-app/pyproject.toml /repo/lynxkite-app/pyproject.toml
6
+ # ADD lynxkite-core/pyproject.toml /repo/lynxkite-core/pyproject.toml
7
+ # ADD lynxkite-graph-analytics/pyproject.toml /repo/lynxkite-graph-analytics/pyproject.toml
8
+ # ADD lynxkite-bio/pyproject.toml /repo/lynxkite-bio/pyproject.toml
9
+ # ADD lynxkite-pillow-example/pyproject.toml /repo/lynxkite-pillow-example/pyproject.toml
10
+ ADD . /repo
11
+ WORKDIR /repo
12
+ RUN uv venv && uv pip install \
13
+ -e lynxkite-core \
14
+ -e lynxkite-app \
15
+ -e lynxkite-graph-analytics \
16
+ -e lynxkite-bio \
17
+ -e lynxkite-pillow-example
18
+ ENV LYNXKITE_DATA=examples
19
+ ENV PORT=7860
20
+ CMD ["uv", "run", "--no-sync", "lynxkite"]
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # LynxKite 2024
2
 
3
  This is an experimental rewrite of [LynxKite](https://github.com/lynxkite/lynxkite). It is not compatible with the
 
1
+ ---
2
+ title: LynxKite 2000:MM
3
+ emoji: 🪁
4
+ colorFrom: purple
5
+ colorTo: gray
6
+ sdk: docker
7
+ app_port: 7860
8
+ ---
9
+
10
  # LynxKite 2024
11
 
12
  This is an experimental rewrite of [LynxKite](https://github.com/lynxkite/lynxkite). It is not compatible with the