mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 10:12:57 +00:00
Fix Dokploy routing issues - Django app is running, 404 is routing problem
- Simplified dokploy.json to fix Traefik routing - Django container is running perfectly on port 3000 - Added simple test Dockerfile to verify container accessibility - The 404 error is from Dokploy/Traefik routing, not Django - Container logs show: Django loaded, gunicorn listening on 3000
This commit is contained in:
parent
7a51dca243
commit
b9b5375537
18
Dockerfile.simple-test
Normal file
18
Dockerfile.simple-test
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM python:3.11-slim
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Create a simple test file
|
||||||
|
RUN echo "<h1>🚀 Container is Running!</h1><p>Port 3000 is accessible</p><p>Time: $(date)</p>" > index.html
|
||||||
|
|
||||||
|
# Expose port 3000
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
# Start simple HTTP server
|
||||||
|
CMD echo "🧪 Simple HTTP Server Test" && \
|
||||||
|
echo "📋 Container Details:" && \
|
||||||
|
echo " - Time: $(date)" && \
|
||||||
|
echo " - Port: 3000" && \
|
||||||
|
echo " - Files: $(ls -la)" && \
|
||||||
|
echo "🌐 Starting HTTP server on port 3000..." && \
|
||||||
|
python -m http.server 3000
|
||||||
Loading…
Reference in New Issue
Block a user