arshy commited on
Commit
43d8c1c
·
1 Parent(s): 50e6363

change method

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -14,7 +14,7 @@ RUN apt-get update && \
14
  rm -rf /var/lib/apt/lists/*
15
 
16
  # Install Poetry
17
- RUN pip install poetry
18
 
19
  # Run submodule update and checkout commands
20
  RUN git submodule update --init --recursive && \
@@ -26,4 +26,7 @@ RUN poetry install --no-interaction --no-ansi
26
 
27
  EXPOSE 7860
28
 
29
- CMD ["poetry", "run", "python", "/app/app.py"]
 
 
 
 
14
  rm -rf /var/lib/apt/lists/*
15
 
16
  # Install Poetry
17
+ RUN pip install poetry gradio
18
 
19
  # Run submodule update and checkout commands
20
  RUN git submodule update --init --recursive && \
 
26
 
27
  EXPOSE 7860
28
 
29
+ RUN chmod +x /app/start.sh
30
+
31
+ # Run app.py when the container launches
32
+ CMD ["/app/start.sh"]