This commit is contained in:
2026-02-18 10:09:21 +01:00
parent c4fdd13f49
commit f5c4e39ba7
6 changed files with 51 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
.git
__pycache__
*.pyc
.env
venv
.venv
db.sqlite3
static
media
+3
View File
@@ -0,0 +1,3 @@
tienda/static/media
db.sqlite3
.venv
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.14-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV DEBIANFRONTEND=noninteractive
WORKDIR /app
RUN apt update && apt install -y build-essential figlet libpq-dev && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/
RUN chmod +x /app/entrypoint.sh
EXPOSE 8000
CMD ["/app/entrypoint.sh"]
BIN
View File
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
figlet Proyecto MVC
echo "Running DB migrations..."
python manage.py migrate
echo "Collecting STATIC..."
yes | python manage.py collectstatic
echo "Running server!"
gunicorn --bind 0.0.0.0:8000 proyecto.wsgi:application
+9 -1
View File
@@ -1,18 +1,26 @@
asgiref==3.11.0
certifi==2026.1.4
cffi==2.0.0
charset-normalizer==3.4.4
cryptography==46.0.4
Django==6.0.1
django-appconf==1.2.0
django-libsass==0.9
django_compressor==4.6.0
django-redis==5.4.0
django_compressor==4.6.0
gunicorn==25.1.0
idna==3.11
libsass==0.23.0
packaging==26.0
paypalrestsdk==1.13.3
pillow==12.1.0
pycparser==3.0
pyOpenSSL==25.3.0
rcssmin==1.2.2
redis==5.2.1
requests==2.32.5
rjsmin==1.2.5
six==1.17.0
sqlparse==0.5.5
stripe==14.3.0
typing_extensions==4.15.0