Spaces:
Paused
Paused
Commit
·
48e7525
1
Parent(s):
cdf112e
Auto-commit: Dockerfile updated
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -49,9 +49,12 @@ ENV CLOUDFLARE_DURABLE_OBJECTS_ID=""
|
|
| 49 |
# Expose port
|
| 50 |
EXPOSE 7860
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
# Health check
|
| 53 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
|
| 54 |
CMD curl -f http://localhost:7860/ || exit 1
|
| 55 |
|
| 56 |
-
#
|
| 57 |
-
CMD ["
|
|
|
|
| 49 |
# Expose port
|
| 50 |
EXPOSE 7860
|
| 51 |
|
| 52 |
+
# Make startup script executable
|
| 53 |
+
RUN chmod +x start.sh
|
| 54 |
+
|
| 55 |
# Health check
|
| 56 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
|
| 57 |
CMD curl -f http://localhost:7860/ || exit 1
|
| 58 |
|
| 59 |
+
# Use startup script for better Linux compatibility
|
| 60 |
+
CMD ["./start.sh"]
|