fixed Dockerfile x2
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

This commit is contained in:
IcyAltair 2025-10-31 10:20:40 +03:00
parent d5446ba359
commit 270c32ba9d

View file

@ -1,10 +1,27 @@
FROM python:3.12-slim 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 COPY ./docker_requirements.txt /requirements.txt
RUN pip install "cython<3.0.0" wheel RUN pip install "cython<3.0.0" wheel
RUN pip install "pyyaml==6.0.2" --no-build-isolation RUN pip install "pyyaml==6.0.2" --no-build-isolation
RUN pip install -r /requirements.txt RUN pip install -r /requirements.txt
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
ENTRYPOINT ["python"] ENTRYPOINT ["python"]
CMD ["src/app.py"] CMD ["src/app.py"]
# ENTRYPOINT ["sh", "src/entrypoint.sh"] # WSGI - gunicorn prod run # ENTRYPOINT ["sh", "src/entrypoint.sh"] # WSGI - gunicorn prod run