Files
simplefileupload-server/Dockerfile

13 lines
353 B
Docker
Raw Normal View History

2024-10-07 23:16:42 -04:00
FROM python:3.8-slim
WORKDIR /app
COPY ./src /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
EXPOSE 7777
2025-04-15 07:44:20 -04:00
# The actual values should be provided when running the container
ENV CLIENT_KEY=default-secret-key \
UPLOAD_FOLDER=tmp/uploads \
DEBUG=False
2024-10-07 23:16:42 -04:00
CMD ["gunicorn", "wsgi:app", "--bind", "0.0.0.0:7777"]