sschellhammer commited on
Commit
2bbca9f
·
verified ·
1 Parent(s): 2ceca1e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -7
Dockerfile CHANGED
@@ -17,15 +17,16 @@ RUN apt-get update && apt-get install -y \
17
  RUN apt-get update && apt-get install -y nano
18
 
19
  # Install Potato and Python dependencies
20
- ARG CACHEBUST=1
21
- RUN git clone https://github.com/SEBSCHELLI/potato.git potato
22
  RUN pip install --upgrade pip
23
- RUN pip install /app/potato # Installs the potato repo as a Python package
24
- RUN pip install huggingface_hub
25
- RUN pip install gitpython
 
26
 
27
  # List installed dependencies
28
- RUN pip list
29
 
30
  # Copy files and set access rights
31
  COPY --chown=user . /app
@@ -35,4 +36,5 @@ RUN chmod +x /app/start.sh
35
  EXPOSE 7860
36
 
37
  # Run start script
38
- CMD ["python", "/app/start.py"]
 
 
17
  RUN apt-get update && apt-get install -y nano
18
 
19
  # Install Potato and Python dependencies
20
+ #ARG CACHEBUST=1
21
+ #RUN git clone https://github.com/SEBSCHELLI/potato.git potato
22
  RUN pip install --upgrade pip
23
+ #RUN pip install /app/potato # Installs the potato repo as a Python package
24
+ #RUN pip install huggingface_hub
25
+ RUN pip install --no-cache-dir -r requirements.txt
26
+ #RUN pip install gitpython
27
 
28
  # List installed dependencies
29
+ #RUN pip list
30
 
31
  # Copy files and set access rights
32
  COPY --chown=user . /app
 
36
  EXPOSE 7860
37
 
38
  # Run start script
39
+ #CMD ["python", "/app/start.py"]
40
+ CMD ["/app/start.sh"]