mirror of
https://github.com/mattintech/simplefileupload-server.git
synced 2026-07-11 14:21:53 +00:00
added logic to support self signed certs
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user