Spaces:
Runtime error
Runtime error
change method
Browse files- 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 |
-
|
|
|
|
|
|
|
|
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"]
|