From 42dedfae1eb08b71b277b2960ae07c1153354fc0 Mon Sep 17 00:00:00 2001 From: lan-air Date: Sun, 11 Dec 2022 23:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8Adocker=E6=96=B0=E5=A2=9E=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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