diff --git a/Dockerfile b/Dockerfile index a72642d..46ccb68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,44 +1,28 @@ -# Use an official Python runtime as a parent image -FROM python:3.11-slim-bullseye +FROM python:3.10-slim -# Set the working directory in the container -WORKDIR /MoneyPrinterTurbo - -# 设置/MoneyPrinterTurbo目录权限为777 -RUN chmod 777 /MoneyPrinterTurbo - -ENV PYTHONPATH="/MoneyPrinterTurbo" +WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ + build-essential \ + curl \ + software-properties-common \ git \ - imagemagick \ - ffmpeg \ && rm -rf /var/lib/apt/lists/* -# Fix security policy for ImageMagick -RUN sed -i '/