Initial commit

This commit is contained in:
2026-03-31 13:10:16 +02:00
commit 0d080a9b77
59 changed files with 4021 additions and 0 deletions

1
start.sh Normal file
View File

@@ -0,0 +1 @@
sudo docker rm -f portfolio_django && sed -i 's|CMD \["uvicorn".*|CMD ["gunicorn", "portfolio.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "2"]|' Dockerfile && grep -q gunicorn requirements.txt || echo -e "gunicorn>=21.0\nwhitenoise>=6.0" >> requirements.txt && sudo docker build --no-cache -t portfolio-alexandre . && sudo docker run -d --name portfolio_django -p 8006:8000 --restart always portfolio-alexandre