mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
fix: resolved oopsie of running migrate before copying the dir first
This commit is contained in:
+2
-1
@@ -4,9 +4,10 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY pyproject.toml uv.lock ./
|
COPY pyproject.toml uv.lock ./
|
||||||
RUN uv sync --frozen --no-dev
|
RUN uv sync --frozen --no-dev
|
||||||
RUN uv run manage.py migrate
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN uv run manage.py migrate
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["uv", "run", "--frozen", "gunicorn", "--bind", "0.0.0.0:8000", "config.wsgi:application"]
|
CMD ["uv", "run", "--frozen", "gunicorn", "--bind", "0.0.0.0:8000", "config.wsgi:application"]
|
||||||
|
|||||||
Reference in New Issue
Block a user