forked from LiveCarta/LiveCartaMeta
Merge pull request 'demo' (#3) from demo into main
Reviewed-on: LiveCarta/LiveCartaMeta#3
This commit is contained in:
51
.dockerignore
Normal file
51
.dockerignore
Normal file
@@ -0,0 +1,51 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.pyo
|
||||
*.pyd
|
||||
*.pyl
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
.ruff_cache/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
coverage.xml
|
||||
htmlcov/
|
||||
.cache/
|
||||
|
||||
# Virtual environments
|
||||
.venv/
|
||||
venv/
|
||||
env/
|
||||
ENV/
|
||||
|
||||
# Build/artifacts
|
||||
dist/
|
||||
build/
|
||||
*.egg-info/
|
||||
.eggs/
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# IDEs and editors
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
*.code-workspace
|
||||
.devcontainer/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# Docker
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
29
.gitignore
vendored
29
.gitignore
vendored
@@ -1 +1,30 @@
|
||||
.env
|
||||
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.pyd
|
||||
*.so
|
||||
*.egg-info/
|
||||
dist/
|
||||
build/
|
||||
.eggs/
|
||||
*.egg
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
.ruff_cache/
|
||||
.coverage
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
venv/
|
||||
.venv/
|
||||
env/
|
||||
ENV/
|
||||
|
||||
# IDEs/editors
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.devcontainer/
|
||||
15
Dockerfile
15
Dockerfile
@@ -1,13 +1,10 @@
|
||||
FROM python:3.12-rc-slim
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install pymongo \
|
||||
dynaconf \
|
||||
pydantic \
|
||||
pymysql \
|
||||
mongoengine \
|
||||
dict_hash \
|
||||
requests
|
||||
COPY ./requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY ./ ./
|
||||
COPY . .
|
||||
|
||||
CMD ["tail","-f","/dev/null"]
|
||||
|
||||
7
requirements.txt
Normal file
7
requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
pymongo==4.16.0
|
||||
dynaconf==3.2.12
|
||||
pydantic==2.12.5
|
||||
pymysql==1.1.2
|
||||
mongoengine==0.29.1
|
||||
dict_hash==1.3.7
|
||||
requests==2.32.5
|
||||
Reference in New Issue
Block a user