docker build fix
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user