Initial demo service for AISP Gitea CI

This commit is contained in:
2026-10-23 08:07:44 +00:00
commit 2c21665d0e
4 changed files with 71 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# The AISP build gateway only allows base images from approved mirrors, written with the
# full host (docker.io/..., harbor.vts-ai.space/...).
FROM docker.io/library/python:3.12-slim
WORKDIR /app
COPY app.py .
# AISP enforces PodSecurity "restricted": run as a non-root UID on a port above 1024.
USER 10001
ENV PORT=8080 \
APP_MESSAGE="Hello from AISP"
EXPOSE 8080
CMD ["python", "-u", "app.py"]