- Copy tienda_ilusion contents to /app/ instead of subdirectory - Remove volume mount from production docker-compose.yml - Allows deployment without repository dependency Refs #37
11 lines
197 B
Docker
11 lines
197 B
Docker
from python:3.12-slim
|
|
|
|
WORKDIR /app/
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY tienda_ilusion/ ./
|
|
|
|
CMD ["python", "manage.py", "runserver", "0.0.0.0:9090"]
|