grok / Dockerfile
deeme's picture
Upload 4 files
eb07461 verified
raw
history blame contribute delete
339 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN pip install --no-cache-dir flask requests curl_cffi werkzeug loguru
COPY . .
# 是否显示搜索结果
ENV ISSHOW_SEARCH_RESULTS=true
# 是否显示思考模型的思考过程
ENV SHOW_THINKING=true
ENV PORT=5200
EXPOSE 5200
RUN mkdir images \
&& chmod 777 images
CMD ["python", "app.py"]