Upload files to "/"
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user