diff --git a/Dockerfile b/Dockerfile index 62e0eb9..564392c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ -FROM ubuntu:latest - -RUN apt-get update && \ - apt-get install -y python3 python3-pip && \ - rm -rf /var/lib/apt/lists/* +FROM python:3.11 RUN echo '[global]' > /etc/pip.conf && \ echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \ diff --git a/main.py b/main.py index ffb085d..0dd669f 100644 --- a/main.py +++ b/main.py @@ -13,9 +13,11 @@ PORT = find_free_port() if WEB_PORT <= 0 else WEB_PORT initial_prompt = "Serve me as a writing and programming assistant." title_html = """