mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
Basic JWT endpoints
This commit is contained in:
parent
7c5919f073
commit
1fa3d8a372
13 changed files with 180 additions and 27 deletions
|
@ -2,12 +2,13 @@ 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
|
||||
RUN if [ -z "${GHOSTFORGE_JWT_SECRET}" ]; then echo "ghostforge build error: Set GHOSTFORGE_JWT_SECRET in .env."; exit 1; fi
|
||||
|
||||
WORKDIR /ghostforge
|
||||
COPY . .
|
||||
RUN rm .env
|
||||
RUN mkdir -p "${GHOSTFORGE_DATA_DIR}"
|
||||
|
||||
RUN pip install --no-cache-dir --requirement requirements.txt
|
||||
RUN pip install .
|
||||
|
||||
ENV GHOSTFORGE_INTERNAL_WEB_PORT=8080
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue