quantumtaskai-caprover/Dockerfile.simple-test
thecyberlearn b9b5375537 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
2025-09-05 09:27:28 +05:30

19 lines
511 B
Docker

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