Spaces:
Runtime error
Runtime error
Benjamin Bossan
commited on
Commit
•
c97eca4
1
Parent(s):
1ec7d38
Go back to using start script in Dockerfile
Browse files- Dockerfile +5 -8
Dockerfile
CHANGED
@@ -24,13 +24,10 @@ RUN python3 -m pip install .
|
|
24 |
|
25 |
COPY --chown=user "demo.py" .
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
# COPY --chown=user "start.sh" .
|
30 |
-
# RUN chmod +x "start.sh"
|
31 |
|
32 |
-
|
|
|
33 |
|
34 |
-
|
35 |
-
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
36 |
-
CMD ["python3", "./demo.py"]
|
|
|
24 |
|
25 |
COPY --chown=user "demo.py" .
|
26 |
|
27 |
+
EXPOSE 7860 8080
|
28 |
+
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
|
|
|
|
29 |
|
30 |
+
COPY --chown=user "start.sh" .
|
31 |
+
RUN chmod +x "start.sh"
|
32 |
|
33 |
+
CMD ["./start.sh"]
|
|
|
|