FROM python:3.10 WORKDIR /app COPY . /app RUN pip install --no-cache-dir -r requirements.txt RUN chmod -R 777 /app RUN sed -i 's|Powered by PyWebIO|Powered by Anye|g' /usr/local/lib/python3.10/site-packages/pywebio/platform/tpl/index.html EXPOSE 8080 CMD ["python", "/app/main.py"]