devops-configs/master-node/Dockerfile
IcyAltair d4c622295c
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 build docker image bug
2025-12-05 23:26:12 +03:00

30 lines
No EOL
505 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 \
libsm6 \
libxext6 \
ffmpeg \
ibgtk2.0-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev
COPY ./docker_requirements.txt /requirements.txt
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