added logic to support self signed certs

This commit is contained in:
2025-04-15 19:23:42 -04:00
parent 21a6734300
commit 10983b9410
7 changed files with 33 additions and 59 deletions

View File

@@ -1,13 +1,8 @@
FROM python:3.13-slim
FROM python:3.12-slim
WORKDIR /app
COPY ./src /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
EXPOSE 7777
# The actual values should be provided when running the container
ENV CLIENT_KEY=default-secret-key \
UPLOAD_FOLDER=tmp/uploads \
DEBUG=False
CMD ["gunicorn", "wsgi:app", "--bind", "0.0.0.0:7777"]
#CMD ["gunicorn", "wsgi:app", "--bind", "0.0.0.0:7777"]
CMD ["python", "start.py"]