Spaces:
Sleeping
Sleeping
Rishi commited on
Commit ·
abbefaf
1
Parent(s): 3e49d81
fix(docker): correct path to backend main.py
Browse files18 unmodified lines19202122232425264 unmodified lines3132333418 unmodified linesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Copy backend source code including toolsCOPY agent.py database.py main.py utils.py ./COPY tools ./tools# Copy the built React app from the first stage4 unmodified lines# Run FastAPI server# Since this is a container, we bind to 0.0.0.0 and port 7860CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]18 unmodified lines1920212223242526274 unmodified lines3233343518 unmodified linesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Copy shared root files and the backend folderCOPY agent.py database.py utils.py ./COPY backend ./backendCOPY tools ./tools# Copy the built React app from the first stage4 unmodified lines# Run FastAPI server# Since this is a container, we bind to 0.0.0.0 and port 7860CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"]
Dockerfile+4-3