Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
|
@@ -9,4 +9,10 @@ WORKDIR /app
|
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
EXPOSE 7860
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
EXPOSE 7860
|
| 12 |
+
|
| 13 |
+
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 14 |
+
|
| 15 |
+
COPY entrypoint.sh /entrypoint.sh
|
| 16 |
+
RUN chmod +x /entrypoint.sh
|
| 17 |
+
|
| 18 |
+
ENTRYPOINT ["/entrypoint.sh"]
|