FROM python:3.13 WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt RUN pip install git+https://github.com/blockstack/secret-sharing RUN rm requirements.txt COPY Dimy.py . EXPOSE 5005/udp CMD ["sh", "-c", "if [ \"$USE_ENV\" = \"true\" ]; then python3 Dimy.py --env; else python3 Dimy.py $T $K $N $SERVER_IP $SERVER_PORT; fi"]