Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -36,5 +36,7 @@ EXPOSE 7860
|
|
| 36 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 37 |
CMD node -e "require('http').get('http://localhost:7860/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
|
| 38 |
|
|
|
|
|
|
|
| 39 |
# Start the application
|
| 40 |
CMD ["npm", "start"]
|
|
|
|
| 36 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 37 |
CMD node -e "require('http').get('http://localhost:7860/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
|
| 38 |
|
| 39 |
+
RUN chmod -R 777 /app
|
| 40 |
+
|
| 41 |
# Start the application
|
| 42 |
CMD ["npm", "start"]
|