chore: import MCTF services
- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
This commit is contained in:
commit
13f936bee9
1222 files changed
+21280
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
ARG PYTHON_IMAGE=python:3.12-slim
|
||||
FROM ${PYTHON_IMAGE}
|
||||
|
||||
WORKDIR /app
|
||||
COPY backend/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY backend/app.py .
|
||||
COPY backend/gunicorn.conf.py .
|
||||
COPY frontend ./static
|
||||
|
||||
RUN mkdir -p /data
|
||||
ENV PORT=5000 BD_SECRET_FILE=/data/secret.bin
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["gunicorn", "--config", "gunicorn.conf.py", "-w", "1", "--threads", "16", "-k", "gthread", \
|
||||
"--timeout", "30", "-b", "0.0.0.0:5000", "app:app"]
|
||||
Reference in new issue
Block a user