Qilan2 commited on
Commit
b2a85ce
·
verified ·
1 Parent(s): 3e556ff

Update dockerfile/Dockerfile12

Browse files
Files changed (1) hide show
  1. dockerfile/Dockerfile12 +7 -0
dockerfile/Dockerfile12 CHANGED
@@ -58,6 +58,13 @@ RUN npm install -g configurable-http-proxy
58
  RUN echo "root ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
59
  chmod 0440 /etc/sudoers
60
 
 
 
 
 
 
 
 
61
  # 设置环境变量
62
  ENV JUPYTER_RUNTIME_DIR=/tmp/app/runtime
63
  ENV JUPYTER_DATA_DIR=/tmp/app/data
 
58
  RUN echo "root ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
59
  chmod 0440 /etc/sudoers
60
 
61
+ WORKDIR /app
62
+
63
+ COPY --chown=user ./requirements.txt requirements.txt
64
+ RUN uv pip install -r requirements.txt
65
+
66
+ WORKDIR /data
67
+
68
  # 设置环境变量
69
  ENV JUPYTER_RUNTIME_DIR=/tmp/app/runtime
70
  ENV JUPYTER_DATA_DIR=/tmp/app/data