BS-001 Initialize BortStack foundation and project workflow

This commit is contained in:
rob
2026-11-10 14:02:50 +00:00
parent 1ec90a082f
commit 52265961cb
119 changed files with 10298 additions and 64 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM python:3.12-slim
WORKDIR /app
COPY config/requirements.txt ./config/requirements.txt
RUN pip install --no-cache-dir -r ./config/requirements.txt \
&& groupadd --gid 10001 app \
&& useradd --uid 10001 --gid app --create-home --shell /usr/sbin/nologin app
COPY . /app
ENV HOME=/home/app \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
USER app:app
EXPOSE 5000
CMD ["gunicorn", "--config", "gunicorn.conf.py", "api:app"]