容器处理
This commit is contained in:
@@ -12,10 +12,10 @@ COPY frontend/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# 复制前端代码
|
||||
COPY frontend/src/ ./frontend/
|
||||
COPY frontend/src/ ./src/
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 8501
|
||||
|
||||
# 启动命令
|
||||
CMD ["streamlit", "run", "frontend/frontend_main.py", "--server.port", "8501", "--server.address", "0.0.0.0", "--server.baseUrlPath", "/ai"]
|
||||
CMD ["streamlit", "run", "src/frontend_main.py", "--server.port", "8501", "--server.address", "0.0.0.0", "--server.baseUrlPath", "/ai"]
|
||||
|
||||
Reference in New Issue
Block a user