FinReporting-Demo / Dockerfile
BoomQ
Deploy FinReporting demo (US/JP/CN) with Docker Space config
2c5713a
Raw History Blame Contribute Delete
334 Bytes
FROM python:3.11-slim
RUN useradd -m -u 1000 user
USER user
ENV PATH=/home/user/.local/bin:$PATH
WORKDIR /home/user/app
COPY --chown=user requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY --chown=user . .
EXPOSE 7860
CMD ["python", "demo_web/app.py", "--host", "0.0.0.0", "--port", "7860"]