mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
Add hilarious auto db password generation and docker build check.
This commit is contained in:
parent
610bfa9134
commit
29d31fffc7
6 changed files with 37 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue