File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11FROM downloads.unstructured.io/unstructured-io/unstructured:latest
2+
23LABEL authors="nexent"
34
45# Set correct permissions as root
@@ -10,6 +11,14 @@ RUN chown -R notebook-user:notebook-user /opt/sdk
1011RUN chmod +x /opt/backend/data_process_service.py
1112
1213WORKDIR /opt
14+
1315USER notebook-user
16+ RUN pip config --user set global.progress_bar off
17+ RUN pip install --user --no-cache-dir -r backend/requirements.txt -i https://mirrors.aliyun.com/pypi/simple
18+ RUN cd /opt/sdk && pip install . -i https://mirrors.aliyun.com/pypi/simple
19+
20+ # Expose the service port
1421EXPOSE 5002
15- ENTRYPOINT ["python" , "/opt/backend/data_process_service.py" ]
22+
23+ # 设置启动入口
24+ ENTRYPOINT ["python" , "/opt/backend/data_process_service.py" ]
You can’t perform that action at this time.
0 commit comments