mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 12:32:56 +00:00
- 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
19 lines
511 B
Docker
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
|