phuong-d-h-nguyen commited on
Commit
3d1c3e3
1 Parent(s): 1b7a54b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
  FROM python:3.9
2
 
 
3
  WORKDIR /code
4
 
5
  RUN useradd -m -u 1000 user
@@ -8,8 +9,7 @@ USER user
8
  COPY finetuning.py /code/finetuning.py
9
  COPY finetuning_set_v1.0.json /code/finetuning_set_v1.0.json
10
 
11
- # RUN mkdir -p /code && chmod 777 /code
12
- RUN chown -R user:user /code
13
 
14
  RUN pip install trl transformers
15
  RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
 
1
  FROM python:3.9
2
 
3
+ RUN mkdir -p /code && chmod 777 /code
4
  WORKDIR /code
5
 
6
  RUN useradd -m -u 1000 user
 
9
  COPY finetuning.py /code/finetuning.py
10
  COPY finetuning_set_v1.0.json /code/finetuning_set_v1.0.json
11
 
12
+ # RUN chown -R user:user /code
 
13
 
14
  RUN pip install trl transformers
15
  RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu