Spaces:
Runtime error
Runtime error
VenkateshRoshan
commited on
Commit
·
505fb08
1
Parent(s):
0891867
serve file added
Browse files- dockerfile +3 -3
dockerfile
CHANGED
@@ -57,13 +57,13 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
57 |
|
58 |
# Copy the application code and serve script
|
59 |
COPY app.py .
|
60 |
-
COPY serve .
|
61 |
|
62 |
# Make the serve script executable
|
63 |
-
RUN chmod +x serve
|
64 |
|
65 |
# Expose the Gradio port
|
66 |
EXPOSE 7860
|
67 |
|
68 |
# Set entry point to the serve script
|
69 |
-
ENTRYPOINT ["./serve"]
|
|
|
57 |
|
58 |
# Copy the application code and serve script
|
59 |
COPY app.py .
|
60 |
+
COPY serve.sh .
|
61 |
|
62 |
# Make the serve script executable
|
63 |
+
RUN chmod +x serve.sh
|
64 |
|
65 |
# Expose the Gradio port
|
66 |
EXPOSE 7860
|
67 |
|
68 |
# Set entry point to the serve script
|
69 |
+
ENTRYPOINT ["./serve.sh"]
|