Compare commits
3 commits
initial-do
...
main
Author | SHA1 | Date | |
---|---|---|---|
ab7efa7a29 | |||
22d9cddf80 | |||
bdd9ce3eaf |
3 changed files with 3 additions and 51 deletions
|
@ -1,27 +0,0 @@
|
||||||
**/__pycache__
|
|
||||||
**/.venv
|
|
||||||
**/.classpath
|
|
||||||
**/.dockerignore
|
|
||||||
**/.env
|
|
||||||
**/.git
|
|
||||||
**/.gitignore
|
|
||||||
**/.project
|
|
||||||
**/.settings
|
|
||||||
**/.toolstarget
|
|
||||||
**/.vs
|
|
||||||
**/.vscode
|
|
||||||
**/*.*proj.user
|
|
||||||
**/*.dbmdl
|
|
||||||
**/*.jfm
|
|
||||||
**/bin
|
|
||||||
**/charts
|
|
||||||
**/docker-compose*
|
|
||||||
**/compose*
|
|
||||||
**/Dockerfile*
|
|
||||||
**/node_modules
|
|
||||||
**/npm-debug.log
|
|
||||||
**/obj
|
|
||||||
**/secrets.dev.yaml
|
|
||||||
**/values.dev.yaml
|
|
||||||
LICENSE
|
|
||||||
README.md
|
|
21
Dockerfile
21
Dockerfile
|
@ -1,21 +0,0 @@
|
||||||
FROM python:3 AS build
|
|
||||||
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
RUN uv venv
|
|
||||||
|
|
||||||
COPY requirements.txt .
|
|
||||||
RUN uv pip install --system -r requirements.txt
|
|
||||||
|
|
||||||
# Copy the project into the intermediate image
|
|
||||||
ADD . /app
|
|
||||||
|
|
||||||
FROM python:3-slim
|
|
||||||
# Copy the environment, but not the source code
|
|
||||||
COPY --from=build --chown=app:app /app/.venv /app/.venv
|
|
||||||
|
|
||||||
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
|
|
||||||
USER appuser
|
|
||||||
|
|
||||||
CMD ["python", "scl.py"]
|
|
|
@ -7,14 +7,14 @@ idna==3.10
|
||||||
pip-install==1.3.5
|
pip-install==1.3.5
|
||||||
Mastodon.py==1.8.1
|
Mastodon.py==1.8.1
|
||||||
numpy==2.2.1
|
numpy==2.2.1
|
||||||
pillow==11.0.0
|
pillow==11.1.0
|
||||||
python-dateutil==2.9.0.post0
|
python-dateutil==2.9.0.post0
|
||||||
python-magic==0.4.27
|
python-magic==0.4.27
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
shapely==2.0.6
|
shapely==2.0.6
|
||||||
six==1.16.0
|
six==1.17.0
|
||||||
SQLAlchemy==2.0.37
|
SQLAlchemy==2.0.37
|
||||||
staticmap==0.5.7
|
staticmap==0.5.7
|
||||||
typing_extensions==4.12.2
|
typing_extensions==4.12.2
|
||||||
urllib3==2.2.3
|
urllib3==2.3.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue