Update Dockerfile
Browse files8 unmodified lines9101112131415161718198 unmodified linesCOPY server.js ./# Expose the portEXPOSE 7860# Health checkHEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \CMD node -e "require('http').get('http://localhost:7860/health', (res) => process.exit(res.statusCode === 200 ? 0 : 1))"# Run the serverCMD ["node", "server.js"]8 unmodified lines91011121314158 unmodified linesCOPY server.js ./# Expose the portEXPOSE 7000# Run the serverCMD ["node", "server.js"]
Dockerfile+1-5