FROM ci.svs-tech.pro/library/node:22-bookworm-slim # Set environment variables for Python and unbuffered mode ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE 1 ENV WORKING_DIR=/app WORKDIR ${WORKING_DIR} RUN apt-get update RUN apt-get install curl -y RUN apt-get install python3-pip -y RUN apt-get install python3-poetry -y RUN poetry -vvv --version COPY pyproject.toml poetry.lock ./ RUN poetry install COPY . ${WORKING_DIR} CMD ["poetry", "run", "python", "manage.py", "runserver", "0.0.0.0:8000"]