sergey.agapov commited on
Commit
e2b8363
1 Parent(s): 5c15daa

initial commit

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -11,4 +11,11 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . /code
13
 
 
 
 
 
 
 
 
14
  CMD ["python", "app.py"]
 
11
 
12
  COPY . /code
13
 
14
+ # Ensure that the working directory has the necessary permissions
15
+ RUN chown -R root:root /code
16
+
17
+ # Run Git commands with sudo to avoid permission issues
18
+ RUN apt-get install -y sudo
19
+ RUN sudo git config --global user.email "svabald@users.noreply.huggingface.co"
20
+
21
  CMD ["python", "app.py"]