mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 07:52:55 +00:00
Fix Dokploy deployment issues
- Remove obsolete version from docker-compose.yml - Remove collectstatic from Dockerfile build process (will run after deployment) - Static files will be collected during post-deployment setup
This commit is contained in:
parent
5ec22c0487
commit
d5a9514bd3
@ -29,9 +29,6 @@ COPY . .
|
||||
# Create logs directory
|
||||
RUN mkdir -p logs
|
||||
|
||||
# Collect static files
|
||||
RUN python manage.py collectstatic --noinput --settings=netcop_hub.settings
|
||||
|
||||
# Create non-root user for security
|
||||
RUN adduser --disabled-password --gecos '' appuser && chown -R appuser:appuser /app
|
||||
USER appuser
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
@ -29,7 +27,6 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user