build(deployment): use sibling repos as docker build context

This commit is contained in:
2026-04-23 19:50:44 +03:30
parent ed47645fef
commit 3b052aeca4
7 changed files with 81 additions and 46 deletions

View File

@@ -16,10 +16,10 @@ RUN apt-get update \
&& apt-get install -y gcc libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY qlockify-backend/requirements/ /app/requirements/
RUN pip install --no-cache-dir -r requirements/base.txt \
&& pip install --no-cache-dir -r requirements/prod.txt
COPY qlockify-backend/ .
CMD ["gunicorn", "core.wsgi:application", "--bind", "0.0.0.0:8000"]
COPY qlockify-backend/requirements/ /app/requirements/
RUN pip install --no-cache-dir -r requirements/base.txt \
&& pip install --no-cache-dir -r requirements/prod.txt
COPY qlockify-backend/ .
CMD ["gunicorn", "config.wsgi:application", "--bind", "0.0.0.0:8000"]