fix
This commit is contained in:
parent
0dd8f3f238
commit
bfa129d6a4
@ -1,5 +1,4 @@
|
||||
FROM python:3.10.11-alpine3.17
|
||||
RUN apk update && apk add --no-cache gcc
|
||||
ENV LANG="C.UTF-8" \
|
||||
TZ="Asia/Shanghai" \
|
||||
PS1="\u@\h:\w \$ " \
|
||||
@ -33,7 +32,7 @@ ENV LANG="C.UTF-8" \
|
||||
DOUBAN_USER_IDS=""
|
||||
WORKDIR ${WORKDIR}
|
||||
COPY . .
|
||||
RUN python3 -m pip install -r requirements.txt \
|
||||
RUN pip install cython && pip install -r requirements.txt \
|
||||
&& echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf \
|
||||
&& echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf
|
||||
EXPOSE 3001
|
||||
|
@ -1,4 +1,3 @@
|
||||
cython~=0.29.24
|
||||
pydantic~=1.10.8
|
||||
SQLAlchemy~=2.0.15
|
||||
uvicorn~=0.22.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user