mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 10:12:57 +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
|
# Create logs directory
|
||||||
RUN mkdir -p logs
|
RUN mkdir -p logs
|
||||||
|
|
||||||
# Collect static files
|
|
||||||
RUN python manage.py collectstatic --noinput --settings=netcop_hub.settings
|
|
||||||
|
|
||||||
# Create non-root user for security
|
# Create non-root user for security
|
||||||
RUN adduser --disabled-password --gecos '' appuser && chown -R appuser:appuser /app
|
RUN adduser --disabled-password --gecos '' appuser && chown -R appuser:appuser /app
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
@ -29,7 +27,6 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user