devops-configs/master-node/Dockerfile
IcyAltair 270c32ba9d
Some checks are pending
CI/CD job / Push Docker image to Docker Hub (push) Waiting to run
CI/CD job / Pull image to cluster (push) Blocked by required conditions
fixed Dockerfile x2
2025-10-31 10:20:40 +03:00

27 lines
No EOL
469 B
Docker

FROM python:3.12-slim
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
build-essential \
cmake \
pkg-config \
git
COPY ./docker_requirements.txt /requirements.txt
RUN pip install "cython<3.0.0" wheel
RUN pip install "pyyaml==6.0.2" --no-build-isolation
RUN pip install -r /requirements.txt
COPY . /app
WORKDIR /app
ENTRYPOINT ["python"]
CMD ["src/app.py"]
# ENTRYPOINT ["sh", "src/entrypoint.sh"] # WSGI - gunicorn prod run