require client-key for uploads

This commit is contained in:
mhills committed 2025-04-15 07:44:20 -04:00
1 parent 350a8aaab7
commit e0c89b4f21
7 files changed
+110 -13

No files matched your search

+6
View File
@@ -4,4 +4,10 @@ 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"]