stash
This commit is contained in:
parent
95ddb484eb
commit
8622e488a4
16 changed files with 607 additions and 369 deletions
|
|
@ -5,9 +5,15 @@
|
|||
|
||||
FROM python:3.11-slim
|
||||
|
||||
# The build context here is just backend/ (no .git), so settings.py's own
|
||||
# `git rev-parse` fallback can't find a repo - the actual commit is passed
|
||||
# in from the real checkout via this build-arg instead (see playbook.yml).
|
||||
ARG GIT_COMMIT=unknown
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
DJANGO_SETTINGS_MODULE=backend.settings
|
||||
DJANGO_SETTINGS_MODULE=backend.settings \
|
||||
GIT_COMMIT=$GIT_COMMIT
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue