Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
FROM lobehub/lobe-chat-database:1.115.0
|
| 2 |
USER nextjs
|
| 3 |
-
EXPOSE 3210
|
|
|
|
|
|
|
|
|
| 1 |
FROM lobehub/lobe-chat-database:1.115.0
|
| 2 |
USER nextjs
|
| 3 |
+
EXPOSE 3210
|
| 4 |
+
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
| 5 |
+
CMD curl -f http://localhost:3210/ || exit 1
|