BTHLABS-66: Prepping for public release: Take one

This commit is contained in:
2025-11-18 20:47:07 +01:00
parent 16a9c73624
commit 20fa33abeb
84 changed files with 839 additions and 631 deletions

View File

@@ -1,7 +1,7 @@
ARG APP_USER_UID=1000
ARG APP_USER_GID=1000
FROM python:3.12.12-slim-bookworm AS base
FROM python:3.13.9-slim-trixie AS base
ARG APP_USER_UID
ARG APP_USER_GID
@@ -24,7 +24,7 @@ RUN if [ ! $(getent group ${APP_USER_GID}) ];then groupadd -g ${APP_USER_GID} ap
apt-get update && \
apt-get install --no-install-recommends -y curl iputils-ping less net-tools vim-tiny wget && \
(curl -sSL https://install.python-poetry.org | python -) && \
python3.12 -m venv ${VIRTUAL_ENV} && \
python3.13 -m venv ${VIRTUAL_ENV} && \
mkdir /srv/app /srv/bin /srv/etc /srv/etc/entrypoint.d/ /srv/lib /srv/local /srv/log /srv/node_modules /srv/opt /srv/packages /srv/run /srv/tmp /srv/uploads
COPY --chown=$APP_USER_UID:$APP_USER_GID base/ops/bin/*.sh /srv/bin/