docker build fix

This commit is contained in:
2026-03-13 14:31:26 -03:00
parent 3eeedebb15
commit 5ceb8172ea
4 changed files with 34 additions and 2 deletions

View File

@@ -5,6 +5,6 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# No COPY . . — code is volume-mounted in dev (..:/app)
CMD ["python", "admin/manage.py", "runserver", "0.0.0.0:8000"]

View File

@@ -9,6 +9,6 @@ WORKDIR /app
COPY requirements.txt requirements-worker.txt ./
RUN pip install --no-cache-dir -r requirements-worker.txt
COPY . .
# No COPY . . — code is volume-mounted in dev (..:/app)
CMD ["celery", "-A", "admin.mpr", "worker", "--loglevel=info"]