Upload files to "/"

This commit is contained in:
2025-04-21 10:09:36 +00:00
commit 5601d6101e
3 changed files with 392 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
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"]