Files
4337-client/Dockerfile

15 lines
391 B
Docker
Raw Normal View History

2025-04-21 10:09:36 +00:00
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"]