Add hilarious auto db password generation and docker build check.

This commit is contained in:
Darryl Nixon 2023-05-23 13:27:25 -07:00
parent 610bfa9134
commit 29d31fffc7
6 changed files with 37 additions and 9 deletions

View file

@ -1,5 +1,8 @@
FROM python:3.11-alpine
ENV DATABASE_PASSWORD ""
RUN if [ -z "${DATABASE_PASSWORD}" ]; then echo "ghostforge build error: Set DATABASE_PASSWORD in .env."; exit 1; fi
WORKDIR /ghostforge
COPY . .
RUN rm .env