browserphp commited on
Commit
f04beff
·
1 Parent(s): 81945a6

Update Dockerfil

Browse files
Files changed (1) hide show
  1. Dockerfil +8 -1
Dockerfil CHANGED
@@ -5,7 +5,14 @@ ENV PATH="/v1/bin:$PATH"
5
  RUN pip install jupyterlab
6
 
7
  #custom building begin------>
8
-
 
 
 
 
 
 
 
9
  #<-----custom building end
10
 
11
  RUN useradd -m -u 1000 user_cmd
 
5
  RUN pip install jupyterlab
6
 
7
  #custom building begin------>
8
+ RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio -O minio
9
+ RUN install minio /usr/bin/
10
+ RUN nohup minio server ./data --address :3000 --console-address :9002 >/dev/null 2>&1 &
11
+ RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O mc
12
+ RUN install mc /usr/bin/
13
+ RUN mc alias set minio http://127.0.0.1:3000 minioadmin minioadmin
14
+ RUN mc mb minio/bucket1
15
+ RUN mc admin user add minio key1 sec654321
16
  #<-----custom building end
17
 
18
  RUN useradd -m -u 1000 user_cmd