|
|
|
FROM python:3.10-slim-bullseye |
|
|
|
|
|
WORKDIR /MoneyPrinterTurbo |
|
|
|
|
|
RUN chmod 777 /MoneyPrinterTurbo |
|
|
|
ENV PYTHONPATH="/MoneyPrinterTurbo" |
|
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
git \ |
|
imagemagick \ |
|
ffmpeg \ |
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml |
|
|
|
|
|
RUN git clone https://github.com/harry0703/MoneyPrinterTurbo . |
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt |
|
|
|
|
|
EXPOSE 8501 |
|
|
|
|
|
CMD ["streamlit", "run", "./webui/Main.py","--server.address=0.0.0.0","--server.enableCORS=True","--browser.gatherUsageStats=False"] |