Skip to content

Commit 0f8dc8b

Browse files
feat: Added Source code
1 parent 46d24fe commit 0f8dc8b

223 files changed

Lines changed: 74186 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARG UV_VERSION=latest
2+
ARG DEBIAN_VERSION=bookworm
3+
4+
5+
FROM ghcr.io/astral-sh/uv:$UV_VERSION AS uv
6+
FROM mcr.microsoft.com/vscode/devcontainers/base:$DEBIAN_VERSION
7+
8+
# hadolint ignore=DL3008
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends poppler-utils \
11+
# To remove the image size, it is recommended refresh the package cache as follows
12+
&& apt-get clean \
13+
&& rm -rf /var/lib/apt/lists/* \
14+
&& curl -fsSL https://aka.ms/install-azd.sh | bash
15+
16+
COPY --from=uv --chown=vscode: /uv /uvx /bin/
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "uv",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "Dockerfile",
6+
"args": {
7+
"UV_VERSION": "latest",
8+
"DEBIAN_VERSION": "bookworm"
9+
}
10+
},
11+
"features": {
12+
"ghcr.io/dhoeric/features/hadolint:1": {}
13+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"charliermarsh.ruff",
18+
"exiasr.hadolint",
19+
"kevinrose.vsc-python-indent",
20+
"mosapride.zenkaku",
21+
"ms-azuretools.vscode-docker",
22+
"ms-python.python",
23+
"ms-python.vscode-pylance",
24+
"njpwerner.autodocstring",
25+
"redhat.vscode-yaml",
26+
"shardulm94.trailing-spaces",
27+
"tamasfe.even-better-toml",
28+
"yzhang.markdown-all-in-one"
29+
]
30+
}
31+
},
32+
"containerEnv": {
33+
"DISPLAY": "dummy",
34+
"PYTHONUNBUFFERED": "True",
35+
"UV_LINK_MODE": "copy",
36+
"UV_PROJECT_ENVIRONMENT": "/home/vscode/.venv"
37+
},
38+
"postCreateCommand": "uv sync --frozen",
39+
"postStartCommand": "uv tool install pre-commit --with pre-commit-uv --force-reinstall",
40+
"remoteUser": "vscode"
41+
}

src/ContentProcessor/.dockerignore

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
# Include any files or directories that you don't want to be copied to your
2+
# container here (e.g., local build artifacts, temporary files, etc.).
3+
#
4+
# For more help, visit the .dockerignore file reference guide at
5+
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
6+
7+
**/.DS_Store
8+
**/__pycache__
9+
**/.venv
10+
**/.classpath
11+
**/.dockerignore
12+
**/.env
13+
**/.git
14+
**/.gitignore
15+
**/.project
16+
**/.settings
17+
**/.toolstarget
18+
**/.vs
19+
**/.vscode
20+
**/*.*proj.user
21+
**/*.dbmdl
22+
**/*.jfm
23+
**/bin
24+
**/charts
25+
**/docker-compose*
26+
**/compose*
27+
**/Dockerfile*
28+
**/node_modules
29+
**/npm-debug.log
30+
**/obj
31+
**/secrets.dev.yaml
32+
**/values.dev.yaml
33+
LICENSE
34+
README.md
35+
36+
# Byte-compiled / optimized / DLL files
37+
__pycache__/
38+
*.py[cod]
39+
*$py.class
40+
41+
# C extensions
42+
*.so
43+
44+
# Distribution / packaging
45+
.Python
46+
build/
47+
develop-eggs/
48+
dist/
49+
downloads/
50+
eggs/
51+
lib/
52+
lib64/
53+
parts/
54+
sdist/
55+
var/
56+
*.egg-info/
57+
.installed.cfg
58+
*.egg
59+
60+
# PyInstaller
61+
# Usually these files are written by a python script from a template
62+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
63+
*.manifest
64+
*.spec
65+
66+
# Installer logs
67+
pip-log.txt
68+
pip-delete-this-directory.txt
69+
70+
# Unit test / coverage reports
71+
htmlcov/
72+
.tox/
73+
.nox/
74+
.coverage
75+
.coverage.*
76+
.cache
77+
nosetests.xml
78+
coverage.xml
79+
*.cover
80+
*.log
81+
82+
# Translations
83+
*.mo
84+
*.pot
85+
86+
# Django stuff:
87+
*.log
88+
local_settings.py
89+
db.sqlite3
90+
91+
# Flask stuff:
92+
instance/
93+
.webassets-cache
94+
95+
# Scrapy stuff:
96+
.scrapy
97+
98+
# Sphinx documentation
99+
docs/_build/
100+
101+
# PyBuilder
102+
target/
103+
104+
# Jupyter Notebook
105+
.ipynb_checkpoints
106+
107+
# IPython
108+
profile_default/
109+
ipython_config.py
110+
111+
# pyenv
112+
.python-version
113+
114+
# celery beat schedule file
115+
celerybeat-schedule
116+
117+
# SageMath parsed files
118+
*.sage.py
119+
120+
# Environments
121+
.env
122+
.venv
123+
env/
124+
venv/
125+
ENV/
126+
env.bak/
127+
venv.bak/
128+
129+
# Spyder project settings
130+
.spyderproject
131+
.spyproject
132+
133+
# Rope project settings
134+
.ropeproject
135+
136+
# mkdocs documentation
137+
/site
138+
139+
# mypy
140+
.mypy_cache/
141+
.dmypy.json
142+
dmypy.json
143+
144+
# Pyre type checker
145+
.pyre/
146+
147+
# pytype static type analyzer
148+
.pytype/
149+
150+
# Cython debug symbols
151+
cython_debug/
152+
153+
# VS Code
154+
.vscode/
155+
156+
# Ignore other unnecessary files
157+
*.bak
158+
*.swp
159+
.DS_Store
160+
*.pdb
161+
*.sqlite3

0 commit comments

Comments
 (0)