Skip to content

Commit 42dedfa

Browse files
author
lan-air
committed
完善文档,以及docker新增文件夹映射
1 parent cfd2989 commit 42dedfa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
FROM python:3.9.5
22
LABEL author="Lan"
33
LABEL email="vast@tom.com"
4-
LABEL version="1.4.2"
4+
LABEL version="1.4.4"
55

66

77
COPY . /app
8-
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
9-
RUN echo 'Asia/Shanghai' >/etc/timezone
108
WORKDIR /app
119
RUN pip install -r requirements.txt
1210
EXPOSE 12345
13-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "12345"]
11+
CMD ["python","main.py"]

0 commit comments

Comments
 (0)