diff --git a/Dockerfile b/Dockerfile index 54956d2..94ecd9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ FROM python:3.9.5 LABEL author="Lan" LABEL email="vast@tom.com" -LABEL version="1.4.2" +LABEL version="1.4.4" COPY . /app -RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime -RUN echo 'Asia/Shanghai' >/etc/timezone WORKDIR /app RUN pip install -r requirements.txt EXPOSE 12345 -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "12345"] \ No newline at end of file +CMD ["python","main.py"] \ No newline at end of file