nas08-scripts/Stocks/stockproxy_Dockerfile

15 lines
252 B
Text
Raw Normal View History

2026-07-26 21:34:22 -04:00
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
RUN mkdir -p /data
EXPOSE 5005
CMD ["gunicorn", "--bind", "0.0.0.0:5005", "--workers", "2", "--timeout", "30", "app:app"]